git @ Cat's Eye Technologies Flobnar / master
Support FORCE_HUGS. Chris Pressey 5 days ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33 DIR=`dirname $THIS`
44 NAME=`basename $THIS`
55 SRC=$DIR/../src
6 if [ -x $DIR/$NAME.exe ] ; then
6 if [ "x$FORCE_HUGS" != "x" ] ; then
7 exec runhugs -i$SRC $SRC/Main.hs $*
8 elif [ -x $DIR/$NAME.exe ] ; then
79 exec $DIR/$NAME.exe $*
810 elif command -v runhaskell 2>&1 >/dev/null ; then
911 exec runhaskell -i$SRC $SRC/Main.hs $*