aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2009-12-04 16:48:17 +0000
committerschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2009-12-04 16:48:17 +0000
commitd45974b03ab6eeb823a41f4d745e31671ae73c91 (patch)
tree30c57f262e24a3e78a94bc9b3171457691150970
parent6a8358ce94747a00e666b99d056618d782dfd9da (diff)
Improve error messages
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@6 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--HDF5.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/HDF5.sh b/HDF5.sh
index b7159ad..793ca75 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -61,6 +61,13 @@ unset MAKEFLAGS
fi
)
+if (( $? )); then
+ echo 'BEGIN ERROR'
+ echo 'Error while building HDF5. Aborting.'
+ echo 'END ERROR'
+ exit 1
+fi
+
################################################################################