* Symlink to the lib/ and etc/ directories of the real Ant,
OpenOffice needs that. svn path=/nixpkgs/trunk/; revision=9261
This commit is contained in:
parent
8746f18f0d
commit
e68cfbe1b4
@ -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
|
cat >> $out/bin/ant <<EOF
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
@ -14,4 +14,8 @@ export LANG="en_US"
|
|||||||
$ant/bin/core-ant \$@
|
$ant/bin/core-ant \$@
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod a+x $out/bin/ant || exit 1
|
chmod a+x $out/bin/ant
|
||||||
|
|
||||||
|
ln -s $ant/lib $ant/etc $out/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user