Skip to content

Commit

Permalink
vg-in-place: made sure that soft links to this script work fine too.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11521 a5019735-40e9-0310-863c-91ae7b9d1cf9
  • Loading branch information
bart committed Feb 3, 2011
1 parent 5c7e6b6 commit d7899f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vg-in-place
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7899f7

Please sign in to comment.