summary refs log tree commit diff
path: root/tools/abifuzz.sh
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-27 19:35:19 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-27 19:35:19 -0400
commit54d734f6a4f3e13e906e8edb8ce3e10caa4bec25 (patch)
treeabc3e24339c95fb7118d45a8f7d2678ba8de4284 /tools/abifuzz.sh
parent205221226f750700f4a0adc077c94d1185f8dd89 (diff)
downloadroux-54d734f6a4f3e13e906e8edb8ce3e10caa4bec25.tar.gz
mac os compatibility fixes in scripts
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() {