You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/04/08 06:12:04 UTC

svn commit: r762929 - /tomcat/trunk/build.xml

Author: markt
Date: Tue Apr  7 20:04:31 2009
New Revision: 762929

URL: http://svn.apache.org/viewvc?rev=762929&view=rev
Log:
Fix annoying loss of executable bit when building on Mac

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=762929&r1=762928&r2=762929&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue Apr  7 20:04:31 2009
@@ -104,7 +104,7 @@
   <target name="build-prepare">
 
     <available classname="junit.framework.TestCase" property="junit.present" />
-
+  	
     <mkdir dir="${tomcat.classes}"/>
 
     <delete dir="${tomcat.build}/temp" />
@@ -476,6 +476,8 @@
          <include name="**/*.bat"/>
       </fileset>
     </copy>
+  	<!-- Copy doesn't retain permissions -->
+    <chmod dir="${tomcat.build}/bin" includes="*.sh" perm="+x"/>
 
     <!-- Copy static resource files -->
     <copy todir="${tomcat.build}/conf">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org