From f077d41e09ec39ff08ae6e2ab47cf3b6011c99af Mon Sep 17 00:00:00 2001 From: Adrien Guatto Date: Mon, 5 Dec 2011 11:31:58 +0100 Subject: [PATCH] Fixed heptc to work under MacOSX without depending on GNU coreutils. --- heptc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heptc b/heptc index 135c205..79ffe74 100755 --- a/heptc +++ b/heptc @@ -5,7 +5,7 @@ STATUS=0 RUN_DIR="`pwd`" -SCRIPT_DIR=`dirname $(readlink -f $0)` +SCRIPT_DIR=`dirname $(python -c "import os, sys; print os.path.realpath(\"$0\")")` COMPILER_DIR="$SCRIPT_DIR/compiler" COMPILER=heptc.byte