From f76466b96129b093742f088505baebc8b1e84e25 Mon Sep 17 00:00:00 2001 From: fche Date: Tue, 30 Aug 2005 02:03:07 +0000 Subject: 2005-08-29 Frank Ch. Eigler * runtest.sh: Tolerate relative $SRCDIR. --- runtest.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtest.sh') diff --git a/runtest.sh b/runtest.sh index 14bd87c6..3ee4e462 100755 --- a/runtest.sh +++ b/runtest.sh @@ -7,6 +7,12 @@ if [ ! -d testsuite ]; then fi SRCDIR=`dirname $0` +if expr "$SRCDIR" : "/.*" >/dev/null +then + true # already absolute, groovy! +else + SRCDIR="`pwd`/$SRCDIR" +fi export SRCDIR SYSTEMTAP_TAPSET=$SRCDIR/tapset -- cgit