Skip to content

Commit d7899f7

Browse files
author
bart
committed
vg-in-place: made sure that soft links to this script work fine too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11521 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 5c7e6b6 commit d7899f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vg-in-place

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# $0 (the name of the file) and $PWD.
55

66
dollarzero=$0
7+
if [ -h "${dollarzero}" ]; then
8+
dollarzero=`readlink "${dollarzero}"`
9+
fi
710

811
if [ "${dollarzero#/}" = "${dollarzero}" ];
912
then

0 commit comments

Comments
 (0)