on master help sign in
fix shell equality
eebac55Greg Weber
install-all.sh+2−2
@@ -25,7 +25,7 @@ for pkg in "${pkgs[@]}"; do
25 (
25 (
26 cd "./$pkg"
26 cd "./$pkg"
27
27
28− if [ $1 == "--clean" ]; then
28+ if [ "$1" = "--clean" ]; then
29 $CABAL clean
29 $CABAL clean
30 fi
30 fi
31
31
@@ -40,7 +40,7 @@ for pkg in "${pkgs[@]}"; do
40 $CABAL test
40 $CABAL test
41
41
42 $CABAL check
42 $CABAL check
43− if [ $1 != "--fast" ]; then
43+ if [ "$1" != "--fast" ]; then
44 $CABAL haddock --executables
44 $CABAL haddock --executables
45 fi
45 fi
46 ./Setup.lhs install
46 ./Setup.lhs install