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