nixpkgs/pkgs/development/tools/build-managers/apache-ant/builder.sh
Martin Bravenboer ad8c419f15 Minor fix'
svn path=/nixpkgs/trunk/; revision=1166
2004-07-12 13:41:37 +00:00

17 lines
248 B
Bash

. $stdenv/setup || exit 1
mkdir -p $out/bin || exit 1
cat >> $out/bin/ant <<EOF
#! /bin/sh
export JAVA_HOME=$j2sdk
export JAVACMD=$j2sdk/bin/java
export ANT_OPTS=""
export ANT_ARGS=""
$ant/bin/core-ant \$@
EOF
chmod a+x $out/bin/ant || exit 1