add error code for exit

This commit is contained in:
Greg Weber 2011-08-18 10:18:36 -07:00
parent a4bfb2a0ca
commit 11232246ed

View File

@ -10,6 +10,6 @@ for package in $PACKAGES
do
echo Installing $package
cd $package
$CABAL configure --enable-tests && $CABAL build && $CABAL test && ./Setup.lhs install || exit
$CABAL configure --enable-tests && $CABAL build && $CABAL test && ./Setup.lhs install || exit 1
cd ..
done