summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/go.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/go.sh b/test/go.sh
index 3f57aaa..d2563d4 100755
--- a/test/go.sh
+++ b/test/go.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-DIR=`readlink -f $0 | xargs dirname`
+DIR=`cd $(dirname "$0"); pwd`
 QBE=$DIR/../src/qbe
 
 TMP=/tmp/qbe.zzzz