diff --git a/install-all.sh b/install-all.sh index a4328497..ce017dd4 100755 --- a/install-all.sh +++ b/install-all.sh @@ -7,6 +7,8 @@ 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 install --only-dependencies && $CABAL configure --enable-tests) + ) && $CABAL build && $CABAL test && ./Setup.lhs install || exit cd .. done