From b9277bdb6a68a7e4b27e59e56a65da55a0ca71eb Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 21 Aug 2001 13:26:30 +0000 Subject: [PATCH] Don't look at $srcdir if it's not set. (Why isn't it set??) --- testsuite/master.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuite/master.test b/testsuite/master.test index 8856783a..4c2c6621 100755 --- a/testsuite/master.test +++ b/testsuite/master.test @@ -34,7 +34,10 @@ fi testdir=`cd $testdir && pwd` echo "srcdir is originally \"$srcdir\"" -srcdir=`cd "$srcdir" && pwd` +if [ "$srcdir" != "" ] +then + srcdir=`cd "$srcdir" && pwd` +fi echo "============================================================" echo "$0 running in `pwd`" -- 2.34.1