chrisg      2002/12/10 07:01:39

  Modified:    .        Tag: fop-0_20_2-maintain build.xml
  Log:
  Fixed executable permission for shellscripts in tar.gz archives
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.44.2.32 +17 -7     xml-fop/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.44.2.31
  retrieving revision 1.44.2.32
  diff -u -r1.44.2.31 -r1.44.2.32
  --- build.xml 10 Dec 2002 10:06:35 -0000      1.44.2.31
  +++ build.xml 10 Dec 2002 15:01:38 -0000      1.44.2.32
  @@ -700,13 +700,17 @@
       <chmod file="${dist.bin.result.dir}/fop.sh" perm="ugo+rx" />
         
       <zip zipfile="${name}-${version}-bin.zip" basedir="${dist.bin.dir}" 
includes="**"/>
  -    <tar tarfile="${name}-${version}-bin.tar" basedir="${dist.bin.dir}" 
includes="**"/>
  -    <gzip zipfile="${name}-${version}-bin.tar.gz" src="${name}-${version}-bin.tar" 
/>
  -    <delete file="${name}-${version}-bin.tar"/>
   
  +    <tar destfile="${name}-${version}-bin.tar.gz" compression="gzip">
  +      <tarfileset dir="${dist.bin.dir}" mode="755">
  +        <include name="**/*.sh"/>
  +      </tarfileset>
  +      <tarfileset dir="${dist.bin.dir}">
  +        <exclude name="**/*.sh"/>
  +      </tarfileset>
  +    </tar>
     </target>
   
  -
     <target name="dist-src" depends="package, docs">
       <echo message="Building the source distribution files (zip,tar)"/>
       <mkdir dir="${dist.src.result.dir}"/>
  @@ -721,9 +725,15 @@
       <chmod file="${dist.src.result.dir}/docs/examples/runtests.sh" perm="ugo+rx" />
   
       <zip zipfile="${name}-${version}-src.zip" basedir="${dist.src.dir}" 
includes="**"/>
  -    <tar tarfile="${name}-${version}-src.tar" basedir="${dist.src.dir}" 
includes="**"/>
  -    <gzip zipfile="${name}-${version}-src.tar.gz" src="${name}-${version}-src.tar" 
/>
  -    <delete file="${name}-${version}-src.tar"/>
  +
  +    <tar destfile="${name}-${version}-src.tar.gz" compression="gzip">
  +      <tarfileset dir="${dist.src.dir}" mode="755">
  +        <include name="**/*.sh"/>
  +      </tarfileset>
  +      <tarfileset dir="${dist.src.dir}">
  +        <exclude name="**/*.sh"/>
  +      </tarfileset>
  +    </tar>
   
     </target>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to