summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-09 01:34:18 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-09 01:34:18 +0000
commit54d6123945222c4f77b07904475e223928972d9b (patch)
tree794e7ccbda3526a1667297f40e1f92685edae112 /bin/ebuild.sh
parentDisable qa_source usage until it actually works (diff)
downloadportage-multirepo-54d6123945222c4f77b07904475e223928972d9b.tar.gz
portage-multirepo-54d6123945222c4f77b07904475e223928972d9b.tar.bz2
portage-multirepo-54d6123945222c4f77b07904475e223928972d9b.zip
Zac pointed out that the retcodes would be wrong if stuff failed...Yeah...
svn path=/main/trunk/; revision=5489
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2dfe9e4a..c1b9bebc 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" ]] &&