* Pass parameters correctly.
svn path=/nixpkgs/trunk/; revision=799
This commit is contained in:
parent
b79b18dfb7
commit
73c7b4a111
|
@ -12,7 +12,8 @@ mkdir $out/bin
|
||||||
for i in $(cd $out/bin-orig && ls); do
|
for i in $(cd $out/bin-orig && ls); do
|
||||||
cat > $out/bin/$i <<EOF
|
cat > $out/bin/$i <<EOF
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
PYTHONPATH=$out/lib/python2.3/site-packages:$wxPython/lib/python2.3/site-packages exec $out/bin-orig/$i \$*
|
IFS=
|
||||||
|
PYTHONPATH=$out/lib/python2.3/site-packages:$wxPython/lib/python2.3/site-packages exec $out/bin-orig/$i \$@
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/$i
|
chmod +x $out/bin/$i
|
||||||
done
|
done
|
Loading…
Reference in a new issue