From 54d6123945222c4f77b07904475e223928972d9b Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Tue, 9 Jan 2007 01:34:18 +0000 Subject: [PATCH] Zac pointed out that the retcodes would be wrong if stuff failed...Yeah... svn path=/main/trunk/; revision=5489 --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2dfe9e4a8..c1b9bebca 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -25,7 +25,7 @@ declare -rx EBUILD_PHASE qa_source() { local shopts=$(shopt) OLDIFS="$IFS" - source "$@" + source "$@" || return 1 [[ $shopts != $(shopt) ]] && vecho "QA Notice: Global shell options were changed and not restored while sourcing $1" [[ "$IFS" != "$OLDIFS" ]] && @@ -35,7 +35,7 @@ qa_source() { qa_call() { local shopts=$(shopt) OLDIFS="$IFS" - "$@" + "$@" || return 1 [[ $shopts != $(shopt) ]] && vecho "QA Notice: Global shell options were changed while calling $1" [[ "$IFS" != "$OLDIFS" ]] && -- 2.26.2