Merge pull request #13097 from jerith666/antrun

ant: preserve antRun script

+7 -2
+7 -2
pkgs/development/tools/build-managers/apache-ant/default.nix
··· 23 23 mv * $out/lib/ant/ 24 24 25 25 # Get rid of the manual (35 MiB). Maybe we should put this in a 26 - # separate output. Also get rid of the Ant scripts since we 27 - # provide our own. 26 + # separate output. Keep the antRun script since it's vanilla sh 27 + # and needed for the <exec/> task (but since we set ANT_HOME to 28 + # a weird value, we have to move antRun to a weird location). 29 + # Get rid of the other Ant scripts since we provide our own. 30 + mv $out/lib/ant/bin/antRun $out/bin/ 28 31 rm -rf $out/lib/ant/{manual,bin,WHATSNEW} 32 + mkdir $out/lib/ant/bin 33 + mv $out/bin/antRun $out/lib/ant/bin/ 29 34 30 35 # Install ant-contrib. 31 36 unpackFile $contrib