pkgs/development/compilers/ghc/7.0.4-binary.nix: pass "$@" in double quotes to avoid issues with arguments that contain whitespace
svn path=/nixpkgs/trunk/; revision=28861
This commit is contained in:
parent
e9c8a9307b
commit
33597eee35
@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
for i in $(cd $out/bin-orig && ls); do
|
for i in $(cd $out/bin-orig && ls); do
|
||||||
echo "#! $SHELL -e" >> $out/bin/$i
|
echo "#! $SHELL -e" >> $out/bin/$i
|
||||||
echo "DYLD_FRAMEWORK_PATH=$out/frameworks exec $out/bin-orig/$i -framework-path $out/frameworks \$@" >> $out/bin/$i
|
echo "DYLD_FRAMEWORK_PATH=$out/frameworks exec $out/bin-orig/$i -framework-path $out/frameworks \"\$@\"" >> $out/bin/$i
|
||||||
chmod +x $out/bin/$i
|
chmod +x $out/bin/$i
|
||||||
done
|
done
|
||||||
'' else "")
|
'' else "")
|
||||||
|
Loading…
Reference in New Issue
Block a user