Changeset 20127

Show
Ignore:
Timestamp:
03.08.2009 15:11:03 (10 years ago)
Author:
oranfry
Message:

changes to the code for fixing execute permissions

Location:
greenstone3/trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/build.xml

    r20124 r20127  
    7272  <property environment="env"/> 
    7373 
    74   <!-- get the fileset defining what is sourcecode --> 
     74  <!-- get the filesets defining components and executables --> 
    7575  <import file="resources/xml/components.xml"/> 
     76  <import file="resources/xml/executables.xml"/> 
    7677     
    7778  <!-- version properties for external packages --> 
     
    17301731  <target name="fix-execute-permissions"> 
    17311732    <echo>Setting binaries to executable</echo> 
    1732     <chmod dir="." includes="*.sh" perm="775"/> 
    1733     <chmod perm="775"><fileset dir="bin" includes="*" erroronmissingdir="false"/></chmod> 
    1734     <chmod perm="775"><fileset dir="bin/script" includes="*" erroronmissingdir="false"/></chmod> 
    1735     <chmod perm="775"><fileset dir="gs2build/bin/linux" includes="*" erroronmissingdir="false"/></chmod> 
    1736     <chmod perm="775"><fileset dir="gs2build/bin/darwin" includes="*" erroronmissingdir="false"/></chmod> 
    1737     <chmod perm="775"><fileset dir="gs2build/bin/script" includes="*" erroronmissingdir="false"/></chmod> 
    1738     <chmod perm="775"><fileset dir="gli" includes="*.sh" erroronmissingdir="false"/></chmod> 
    1739     <chmod perm="775"><fileset dir="packages/ant/bin" includes="ant" erroronmissingdir="false"/></chmod> 
     1733    <chmod perm="775"> 
     1734      <fileset dir="."><patternset refid="greenstone3.executables"/></fileset> 
     1735    </chmod> 
    17401736  </target> 
    17411737   
    17421738  <!-- fix up executable permissions for source code release --> 
    17431739  <target name="fix-execute-permissions-source"> 
    1744     <chmod perm="775"><fileset dir="gs2build" includes="**/configure" erroronmissingdir="false"/></chmod> 
    1745     <chmod perm="775"><fileset dir="gs2build/common-src/packages/gdbm/gdbm-1.8.3" includes="mkinstalldirs" erroronmissingdir="false"/></chmod> 
    1746     <chmod perm="775"><fileset dir="src/packages/javagdbm" includes="**/configure" erroronmissingdir="false"/></chmod> 
    1747     <chmod perm="775"><fileset dir="src/packages/search4j" includes="**/configure" erroronmissingdir="false"/></chmod> 
     1740    <chmod perm="775"> 
     1741      <fileset dir="."><patternset refid="greenstone3.source.executables"/></fileset> 
     1742    </chmod> 
    17481743  </target> 
    17491744