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