You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2017/04/09 06:49:56 UTC

[17/50] [abbrv] logging-log4cxx git commit: "includeSiteDirectory" seems to add files with wrong permissions.

"includeSiteDirectory" seems to add files with wrong permissions.



Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/3a73f2bc
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/3a73f2bc
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/3a73f2bc

Branch: refs/heads/master
Commit: 3a73f2bc75dc6214651ab4045a1a2d5e1e19ff4c
Parents: 20678a6
Author: Thorsten Sch�ning <ts...@apache.org>
Authored: Fri Mar 25 10:10:46 2016 +0000
Committer: Thorsten Sch�ning <ts...@apache.org>
Committed: Fri Mar 25 10:10:46 2016 +0000

----------------------------------------------------------------------
 src/assembly/source.xml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/3a73f2bc/src/assembly/source.xml
----------------------------------------------------------------------
diff --git a/src/assembly/source.xml b/src/assembly/source.xml
index 3f0f8a2..dac9320 100644
--- a/src/assembly/source.xml
+++ b/src/assembly/source.xml
@@ -22,7 +22,6 @@
 		<format>tar.gz</format>
 	</formats>
 	<baseDirectory>apache-log4cxx-${project.version}</baseDirectory>
-	<includeSiteDirectory>true</includeSiteDirectory>
 
 	<fileSets>
 		<!-- Some files need to be executable. -->
@@ -92,6 +91,20 @@
 			<directoryMode>0755</directoryMode>
 		</fileSet>
 
+		<!-- "includeSiteDirectory" seems to add files with wrong permissions. -->
+		<fileSet>
+			<directory>target</directory>
+			<lineEnding>keep</lineEnding>
+			<outputDirectory>.</outputDirectory>
+
+			<includes>
+				<include>site/**</include>
+			</includes>
+
+			<fileMode>0644</fileMode>
+			<directoryMode>0755</directoryMode>
+		</fileSet>
+
 		<fileSet>
 			<directory>target</directory>
 			<lineEnding>keep</lineEnding>
@@ -113,3 +126,4 @@
 		</fileSet>
 	</fileSets>
 </assembly>
+