commit | d7899f7d943ebba050cbb9ccaf387919a4afa949 | [log] [tgz] |
---|---|---|
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Feb 03 17:49:07 2011 +0000 |
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Feb 03 17:49:07 2011 +0000 |
tree | 011515299fcc15a5a9798ca085d8d20345c24409 | |
parent | 5c7e6b69ccaecc32ff43d7f3cb9573f3901d19f0 [diff] [blame] |
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
diff --git a/vg-in-place b/vg-in-place index a49036d..b364c10 100755 --- a/vg-in-place +++ b/vg-in-place
@@ -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