* Set argv[0] to a nicer value.

svn path=/nixpkgs/trunk/; revision=14418
This commit is contained in:
Eelco Dolstra 2009-03-06 16:53:02 +00:00
parent f301e8423b
commit bd5aed6fd6

View File

@ -66,7 +66,7 @@ makeWrapper() {
fi
done
echo "exec \"$original\" $flagsBefore \"\$@\"" >> $wrapper
echo "exec -a $(basename "$wrapper") \"$original\" $flagsBefore \"\$@\"" >> $wrapper
chmod +x $wrapper
}