@@ -25,7 +25,7 @@ for pkg in "${pkgs[@]}"; do
26 cd "./$pkg"
26 cd "./$pkg"
28− if [ $1 == "--clean" ]; then
28+ if [ "$1" = "--clean" ]; then
29 $CABAL clean
29 $CABAL clean
@@ -40,7 +40,7 @@ for pkg in "${pkgs[@]}"; do
40 $CABAL test
40 $CABAL test
42 $CABAL check
42 $CABAL check
43− if [ $1 != "--fast" ]; then
43+ if [ "$1" != "--fast" ]; then
44 $CABAL haddock --executables
44 $CABAL haddock --executables
46 ./Setup.lhs install
46 ./Setup.lhs install