summary refs log tree commit diff
path: root/tools/abifuzz.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/abifuzz.sh')
-rwxr-xr-xtools/abifuzz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/abifuzz.sh b/tools/abifuzz.sh
index 5945082..ef1f26a 100755
--- a/tools/abifuzz.sh
+++ b/tools/abifuzz.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 OCAMLC=${OCAMLC:-/usr/bin/ocamlc}
-DIR=`readlink -f $0 | xargs dirname`
+DIR=`cd $(dirname "$0"); pwd`
 QBE=$DIR/../src/qbe
 
 failure() {