Fixed a tiny mistake in the ghc-6.6 and ghc-6.8 wrapper generation.

It worked without the fix.
Hopefully it still works with the fix.

svn path=/nixpkgs/trunk/; revision=11128
This commit is contained in:
Arie Middelkoop 2008-03-14 14:49:17 +00:00
parent 44fa8e3e0f
commit f0729c16e9
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ makeWrapper() {
wrapper="$ghc_support/$wrapperName" wrapper="$ghc_support/$wrapperName"
shift #the other arguments are passed to the source app shift #the other arguments are passed to the source app
echo '#!'"$SHELL" > "$wrapper" echo '#!'"$SHELL" > "$wrapper"
echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' > "$wrapper" echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' >> "$wrapper"
chmod +x "$wrapper" chmod +x "$wrapper"
} }

View File

@ -13,7 +13,7 @@ makeWrapper() {
wrapper="$ghc_support/$wrapperName" wrapper="$ghc_support/$wrapperName"
shift #the other arguments are passed to the source app shift #the other arguments are passed to the source app
echo '#!'"$SHELL" > "$wrapper" echo '#!'"$SHELL" > "$wrapper"
echo "exec \"$ghc/bin/$wrapperName\" $@" '"$@"' > "$wrapper" echo "exec \"$ghc/bin/$wrapperName\" $@" '"$@"' >> "$wrapper"
chmod +x "$wrapper" chmod +x "$wrapper"
} }

View File

@ -13,7 +13,7 @@ makeWrapper() {
wrapper="$ghc_support/$wrapperName" wrapper="$ghc_support/$wrapperName"
shift #the other arguments are passed to the source app shift #the other arguments are passed to the source app
echo '#!'"$SHELL" > "$wrapper" echo '#!'"$SHELL" > "$wrapper"
echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' > "$wrapper" echo "exec \"@out@/bin/$wrapperName\" $@" '"$@"' >> "$wrapper"
chmod +x "$wrapper" chmod +x "$wrapper"
} }