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:
parent
44fa8e3e0f
commit
f0729c16e9
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user