You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/05/05 00:50:52 UTC
svn commit: r168204 - /lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml
Author: gregor
Date: Wed May 4 15:50:51 2005
New Revision: 168204
URL: http://svn.apache.org/viewcvs?rev=168204&view=rev
Log:
Use Ant task to fix CRLF for the shell scripts and make them executable
Modified:
lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml
Modified: lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml?rev=168204&r1=168203&r2=168204&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml (original)
+++ lenya/branches/BRANCH_1_2_X/src/targets/dist-build.xml Wed May 4 15:50:51 2005
@@ -52,8 +52,11 @@
</copy>
<delete dir="${dist.bin.dir}/tools/anttasks"/>
- <!-- Make executable -->
+ <!-- Make shell scripts executable -->
<chmod file="${dist.bin.dir}/*.sh" perm="ugo+rx"/>
+
+ <!-- Make sure linefeeds in shell scripts are UNIX-style -->
+ <fixcrlf srcdir="${dist.bin.dir}" eol="lf" includes="*.sh"/>
</target>
<target name="dist-bin" depends="prepare-dist-bin" description="Build a regular binary distribution tar ball">
@@ -118,6 +121,12 @@
<include name="**/about.xml"/>
<replacefilter token="@lenya.version@" value="${version}"/>
</replace>
+
+ <!-- Make shell scripts executable -->
+ <chmod file="${dist.src.dir}/*.sh" perm="ugo+rx"/>
+
+ <!-- Make sure linefeeds in shell scripts are UNIX-style -->
+ <fixcrlf srcdir="${dist.src.dir}" eol="lf" includes="*.sh"/>
</target>
<target name="dist-src" depends="prepare-dist-src" description="Builds a regular tar ball containing the sources for developers">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org