mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
15.55.2006 839fc6d3f5b123ac732b52230542785a199fef3a
Update the build script to ensure that administrative shell scripts have UNIX
line separators (LF) and batch files have Windows line separators (CRLF). This
will ensure that these files will be handled properly on the target platform,
regardless of what type of system was used to check out and build the server.

OpenDS Issue Number: 908
1 files modified
18 ■■■■■ changed files
opendj-sdk/opends/build.xml 18 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/build.xml
@@ -370,9 +370,10 @@
      <fileset file="${lib.dir}/*.jar" />
    </copy>
    <copy todir="${pdir}/bin">
      <fileset file="${scripts.dir}/*" />
    </copy>
    <fixcrlf srcDir="${scripts.dir}" destDir="${pdir}/bin" excludes="*.bat"
         eol="lf" />
    <fixcrlf srcDir="${scripts.dir}" destDir="${pdir}/bin" includes="*.bat"
         eol="crlf" />
    <copy todir="${pdir}/config">
      <fileset file="${config.dir}/*" />
@@ -398,13 +399,10 @@
      <fileset file="${resource.dir}/README" />
    </copy>
    <copy todir="${pdir}">
      <fileset file="${resource.dir}/setup.sh" />
    </copy>
    <copy todir="${pdir}">
      <fileset file="${resource.dir}/setup.bat" />
    </copy>
    <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup.sh"
         eol="lf" />
    <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup.bat"
         eol="crlf" />
    <chmod file="${pdir}/*.sh" perm="755" />
    <chmod perm="755">