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.
This commit is contained in:
Marc Schoechlin 2015-07-25 17:22:10 +02:00
parent f4f416a093
commit 167c510331
1 changed files with 13 additions and 1 deletions

View File

@ -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>