Skip to content
Browse files

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
  • Loading branch information...
1 parent 5c7e6b6 commit d7899f7d943ebba050cbb9ccaf387919a4afa949 bart committed Feb 3, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 vg-in-place
View
3 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

0 comments on commit d7899f7

Please sign in to comment.
Something went wrong with that request. Please try again.