From 54d734f6a4f3e13e906e8edb8ce3e10caa4bec25 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 27 Mar 2016 19:35:19 -0400 Subject: mac os compatibility fixes in scripts --- tools/abifuzz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/abifuzz.sh') 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() { -- cgit 1.4.1