From d45974b03ab6eeb823a41f4d745e31671ae73c91 Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 4 Dec 2009 16:48:17 +0000 Subject: Improve error messages git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@6 fb53df36-e548-4a1e-8150-ab98cbd5e786 --- HDF5.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 + ################################################################################ -- cgit v1.2.3