From: Alec Warner Date: Tue, 9 Jan 2007 01:34:18 +0000 (-0000) Subject: Zac pointed out that the retcodes would be wrong if stuff failed...Yeah... X-Git-Tag: v2.1.2~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=54d6123945222c4f77b07904475e223928972d9b;p=portage.git Zac pointed out that the retcodes would be wrong if stuff failed...Yeah... svn path=/main/trunk/; revision=5489 --- 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" ]] &&