diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-09-06 15:30:38 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-09-06 15:30:38 +0000 |
commit | e68cfbe1b4fca20c8ec15feae8c3739f061d9b79 (patch) | |
tree | 55fb723d47f27ab300e4f20cc1e9702bdd103f6c /pkgs/development/tools/build-managers/apache-ant | |
parent | 8746f18f0dd9206086d3520a997f0f5bfc21b070 (diff) |
* Symlink to the lib/ and etc/ directories of the real Ant,
OpenOffice needs that. svn path=/nixpkgs/trunk/; revision=9261
Diffstat (limited to 'pkgs/development/tools/build-managers/apache-ant')
-rw-r--r-- | pkgs/development/tools/build-managers/apache-ant/builder.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/tools/build-managers/apache-ant/builder.sh b/pkgs/development/tools/build-managers/apache-ant/builder.sh index 0728ecb6dac78..42d5e67d154b3 100644 --- a/pkgs/development/tools/build-managers/apache-ant/builder.sh +++ b/pkgs/development/tools/build-managers/apache-ant/builder.sh @@ -1,6 +1,6 @@ -source $stdenv/setup || exit 1 +source $stdenv/setup -mkdir -p $out/bin || exit 1 +mkdir -p $out/bin cat >> $out/bin/ant <<EOF #! /bin/sh @@ -14,4 +14,8 @@ export LANG="en_US" $ant/bin/core-ant \$@ EOF -chmod a+x $out/bin/ant || exit 1 +chmod a+x $out/bin/ant + +ln -s $ant/lib $ant/etc $out/ + + |