From 443dbeb323fa857fc3ebd02b7a37f2e8a071faf7 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 30 Nov 2011 18:37:58 +0000 Subject: [PATCH] Bug 703930 - Make syntax errors in *makefiles.sh abort the build; r=khuey --- allmakefiles.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/allmakefiles.sh b/allmakefiles.sh index 70d7cae91570..682ff13710c3 100755 --- a/allmakefiles.sh +++ b/allmakefiles.sh @@ -41,6 +41,9 @@ # There is no need to rerun autoconf after adding makefiles. # You only need to run configure. +# Turn on exit on error +set -o errexit + MAKEFILES="" # add_makefiles - Shell function to add makefiles to MAKEFILES @@ -151,3 +154,6 @@ fi # Services makefiles . "${srcdir}/services/makefiles.sh" + +# Turn off exit on error, since it breaks the rest of configure +set +o errexit