fix shell equality

This commit is contained in:
Greg Weber 2011-09-05 23:11:14 -07:00
parent 7ae7d274fc
commit 8c30ebe3c0

View File

@ -30,7 +30,7 @@ for pkg in "${pkgs[@]}"; do
( (
cd "./$pkg" cd "./$pkg"
if [ $1 == "--clean" ]; then if [ "$1" = "--clean" ]; then
$CABAL clean $CABAL clean
fi fi
@ -45,7 +45,7 @@ for pkg in "${pkgs[@]}"; do
$CABAL test $CABAL test
$CABAL check $CABAL check
if [ $1 != "--fast" ]; then if [ "$1" != "--fast" ]; then
$CABAL haddock --executables $CABAL haddock --executables
fi fi
./Setup.lhs install ./Setup.lhs install