activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschoech...@apache.org
Subject [1/3] activemq git commit: changed permissions of "env" file
Date Sat, 25 Jul 2015 15:50:20 GMT
Repository: activemq
Updated Branches:
  refs/heads/master f4f416a09 -> eb8723c1e


changed permissions of "env" file

The previous permission of the  <activemq-install-dir>/bin/env file
(755) caused some problems on systems where the
<activemq-install-dir>/bin/ directory is part of the PATH variable.
The executable "env" is also available of all common unix platforms.
If <activemq-install-dir>/bin/ has precedence in the PATH environment
variable this causes lots of unexpected problems.
In future it would be a good idea to relocate the file to the
<activemq-install-dir>/conf directory.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/167c5103
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/167c5103
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/167c5103

Branch: refs/heads/master
Commit: 167c510331692bfa2648724d16330d49ec8dd0ae
Parents: f4f416a
Author: Marc Schoechlin <marc.schoechlin@breuninger.de>
Authored: Sat Jul 25 17:22:10 2015 +0200
Committer: Marc Schoechlin <marc.schoechlin@breuninger.de>
Committed: Sat Jul 25 17:22:10 2015 +0200

----------------------------------------------------------------------
 assembly/src/main/descriptors/unix-bin.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/167c5103/assembly/src/main/descriptors/unix-bin.xml
----------------------------------------------------------------------
diff --git a/assembly/src/main/descriptors/unix-bin.xml b/assembly/src/main/descriptors/unix-bin.xml
index a1e4d38..592d75e 100644
--- a/assembly/src/main/descriptors/unix-bin.xml
+++ b/assembly/src/main/descriptors/unix-bin.xml
@@ -96,7 +96,6 @@
       <outputDirectory>/</outputDirectory>
       <includes>
         <include>bin/activemq</include>
-        <include>bin/env</include>
         <include>bin/diag</include>
         <include>bin/activemq-admin</include>
         <include>bin/macosx/activemq</include>
@@ -107,6 +106,19 @@
       <lineEnding>unix</lineEnding>
     </fileSet>
 
+    <!-- Copy over the unix-script configuration file that need unix line endings and
also chmod to 644 -->
+    <fileSet>
+      <directory>src/release</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>bin/env</include>
+      </includes>
+      <directoryMode>0755</directoryMode>
+      <fileMode>0644</fileMode>
+      <lineEnding>unix</lineEnding>
+    </fileSet>
+
+
     <!-- Copy over example scripts that need unix line endings and also chmod to 755 -->
     <fileSet>
       <directory>src/release</directory>


Mime
View raw message