From 3bb5fe0ba240933b649357ccb1be27814133a0e2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 13 Sep 2010 21:20:54 +0200 Subject: [PATCH] Avoid running helpers twice when using auto (Closes: #584884). --- 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 0638629f8..332ca5576 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 f734a50b0..e5ae3df6e 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 3cf4a6d51..afb6935d8 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" ]