Subject: Avoid running helpers twice when using auto (Closes: #584884).

From: Daniel Baumann <[email-masked]>
Date: Mon, 13 Sep 2010 21:20:54 +0200

---
 scripts/build/lb_build  | 1 +
 scripts/build/lb_clean  | 1 +
 scripts/build/lb_config | 1 +
 3 files changed, 3 insertions(+)

diff --git a/scripts/build/lb_build b/scripts/build/lb_build
index 0638629..332ca55 100755
--- a/scripts/build/lb_build
+++ b/scripts/build/lb_build
@@ -25,6 +25,7 @@ if [ "${1}" != "noauto" ] && [ -x auto/build ]
 then
 	Echo_message "Executing auto/build script."
 	./auto/build ${@}
+	exit ${?}
 fi
 
 if [ "${1}" = "noauto" ]
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index f734a50..e5ae3df 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -18,6 +18,7 @@ if [ "${1}" != "noauto" ] && [ -x auto/clean ]
 then
 	Echo_message "Executing auto/clean script."
 	./auto/clean ${@}
+	exit ${?}
 fi
 
 if [ "${1}" = "noauto" ]
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index 3cf4a6d..afb6935 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -18,6 +18,7 @@ if [ "${1}" != "noauto" ] && [ -x auto/config ]
 then
 	Echo_message "Executing auto/config script."
 	./auto/config ${@}
+	exit ${?}
 fi
 
 if [ "${1}" = "noauto" ]
-- 
cgit v1.0