From 93f6b2653b10e1c270422d0d44e42e02b6db9f65 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 3 Feb 2011 17:49:07 +0000 Subject: [PATCH] vg-in-place: made sure that soft links to this script work fine too. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11521 --- vg-in-place | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vg-in-place b/vg-in-place index a49036de99..b364c10dba 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 -- 2.47.3