Fix chmod bug on rundemo.

This commit is contained in:
Christian P. MOMON 2013-06-26 17:07:27 +02:00
parent 5f66f2a3e7
commit 4712fcb709

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="dist2" name="Xidyn">
<project default="dist-top" name="Xidyn">
<!-- -->
<import file="buildjar.xml" />
@ -35,7 +35,7 @@
<!-- -->
<target name="dist2" description="Build distribution" depends="dist,compile-demo">
<target name="dist-top" description="Build distribution" depends="dist,compile-demo">
<!-- Package demo -->
<property name="demo.jar" value="${dist.dir}/demo.jar" />
<jar update="no" jarfile="${demo.jar}">
@ -44,6 +44,6 @@
<fileset dir="resources" />
</jar>
<copy file="rundemo" todir="${dist.dir}/" overwrite="true" />
<chmod file="${dist.dir}/" perm="ugo+rx" />
<chmod file="${dist.dir}/rundemo" perm="ugo+rx" />
</target>
</project>