diff options
author | fche <fche> | 2005-08-30 02:03:07 +0000 |
---|---|---|
committer | fche <fche> | 2005-08-30 02:03:07 +0000 |
commit | f76466b96129b093742f088505baebc8b1e84e25 (patch) | |
tree | 4e1589aec8901a707812ce9ad41bb8745bae0160 /runtest.sh | |
parent | ba4a90fd18a9c94624a38d660c6e7ca6230c271f (diff) | |
download | systemtap-steved-f76466b96129b093742f088505baebc8b1e84e25.tar.gz systemtap-steved-f76466b96129b093742f088505baebc8b1e84e25.tar.xz systemtap-steved-f76466b96129b093742f088505baebc8b1e84e25.zip |
2005-08-29 Frank Ch. Eigler <fche@redhat.com>
* runtest.sh: Tolerate relative $SRCDIR.
Diffstat (limited to 'runtest.sh')
-rwxr-xr-x | runtest.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |