git @ Cat's Eye Technologies Iphigeneia / 6679919
Make the shell tests more portable. Cat's Eye Technologies 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/sh
11
2 if [ -z `which ghc` -a -z x`which runhugs` ]; then
2 if [ x`which ghc` = x -a x`which runhugs` = x ]; then
33 echo "Neither ghc nor runhugs found on search path."
44 exit 1
55 fi
66
77 mkdir -p bin
88
9 if [ -z `which ghc` -o ! -z $USE_HUGS ]; then
9 if [ x`which ghc` = x -o ! x$USE_HUGS = x ]; then
1010 # create script to run with Hugs
1111 cat >bin/iphi <<'EOF'
1212 #!/bin/sh