vg-in-place: made sure that soft links to this script work fine too.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11521
This commit is contained in:
Bart Van Assche 2011-02-03 17:49:07 +00:00
parent 79f1b01520
commit 93f6b2653b

View File

@ -4,6 +4,9 @@
# $0 (the name of the file) and $PWD.
dollarzero=$0
if [ -h "${dollarzero}" ]; then
dollarzero=`readlink "${dollarzero}"`
fi
if [ "${dollarzero#/}" = "${dollarzero}" ];
then