* Set argv[0] to a nicer value.
svn path=/nixpkgs/trunk/; revision=14418
This commit is contained in:
parent
f301e8423b
commit
bd5aed6fd6
|
@ -66,7 +66,7 @@ makeWrapper() {
|
|||
fi
|
||||
done
|
||||
|
||||
echo "exec \"$original\" $flagsBefore \"\$@\"" >> $wrapper
|
||||
echo "exec -a $(basename "$wrapper") \"$original\" $flagsBefore \"\$@\"" >> $wrapper
|
||||
|
||||
chmod +x $wrapper
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue