summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-06 21:29:47 -0800
committerRoland McGrath <roland@redhat.com>2009-01-06 21:29:47 -0800
commite442fc6e4684ce83f07ecc38348a52510cdf2d2b (patch)
tree2067a546d8310fbec3fc33d33cec2f806d4f05e5
parenta53634aebfe4b5219a82ee4d0cb9163949cc8b4e (diff)
downloaddebuginfo-test-scripts-e442fc6e4684ce83f07ecc38348a52510cdf2d2b.tar.gz
debuginfo-test-scripts-e442fc6e4684ce83f07ecc38348a52510cdf2d2b.tar.xz
debuginfo-test-scripts-e442fc6e4684ce83f07ecc38348a52510cdf2d2b.zip
PATH confounding me
-rwxr-xr-xsingle-file-test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/single-file-test.sh b/single-file-test.sh
index e4543cc..eca6f61 100755
--- a/single-file-test.sh
+++ b/single-file-test.sh
@@ -1,6 +1,8 @@
#!/bin/sh
-PATH="$(dirname $0):$PATH"
+srcdir=`dirname $0`
+srcdir=`(cd "$srcdir"; pwd)`
+PATH="$srcdir:$PATH"
export PATH
ulimit -c unlimited