Use *.tar.bz2 archive for portable package to make sure we keep Unix execute permissions

This commit is contained in:
Reinhard Pointner 2016-09-15 19:57:25 +08:00
parent 8882f68c55
commit 17775e477f
1 changed files with 2 additions and 3 deletions

View File

@ -615,10 +615,10 @@
<fileset dir="${dir.installer}/portable" includes="*.exe, *.ini, *.cmd, *.sh" /> <fileset dir="${dir.installer}/portable" includes="*.exe, *.ini, *.cmd, *.sh" />
</copy> </copy>
<zip destfile="${dir.dist}/FileBot_${version}-portable.zip"> <tar destfile="${dir.dist}/FileBot_${version}-portable.tar.bz2" compression="bzip2" longfile="gnu" encoding="utf8">
<zipfileset dir="${dir.dist}/portable" includes="*.jar, *.exe, *.ini, *.cmd" /> <zipfileset dir="${dir.dist}/portable" includes="*.jar, *.exe, *.ini, *.cmd" />
<zipfileset dir="${dir.dist}/portable" includes="*.sh" filemode="755" /> <zipfileset dir="${dir.dist}/portable" includes="*.sh" filemode="755" />
</zip> </tar>
</target> </target>
@ -709,7 +709,6 @@
<include name="*.ipk" /> <include name="*.ipk" />
<include name="*.msi" /> <include name="*.msi" />
<include name="*.spk" /> <include name="*.spk" />
<include name="*-portable.zip" />
</fileset> </fileset>
</copy> </copy>