Fix annoying loss of executable bit when building on Mac
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Apr 2009 20:04:31 +0000 (20:04 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 7 Apr 2009 20:04:31 +0000 (20:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@762929 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 7f7b961..31edb1c 100644 (file)
--- a/build.xml
+++ b/build.xml
   <target name="build-prepare">
 
     <available classname="junit.framework.TestCase" property="junit.present" />
-
+       
     <mkdir dir="${tomcat.classes}"/>
 
     <delete dir="${tomcat.build}/temp" />
          <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">