Commit 7cda8c7a authored by Adam Vogt's avatar Adam Vogt

build script set -e instead of || return 1

parent daa62ecb
#!/bin/sh #!/bin/bash
set -e
# Recompile ipython-kernel # Recompile ipython-kernel
cd ipython-kernel cd ipython-kernel
cabal clean cabal clean
cabal install --force-reinstalls || exit 1 cabal install --force-reinstalls
cd .. cd ..
# Make the profile # Make the profile
...@@ -14,7 +16,7 @@ cd .. ...@@ -14,7 +16,7 @@ cd ..
# Make ihaskell itself # Make ihaskell itself
cabal clean cabal clean
cabal install --force-reinstalls || exit 1 cabal install --force-reinstalls
# Remove my profile # Remove my profile
rm -rf ~/.ipython/profile_haskell rm -rf ~/.ipython/profile_haskell
...@@ -25,6 +27,6 @@ for dir in `ls` ...@@ -25,6 +27,6 @@ for dir in `ls`
do do
cd $dir cd $dir
cabal clean cabal clean
cabal install || exit 1 cabal install
cd .. cd ..
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment