summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 04cfe6369..d1e2e8fd0 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -35,6 +35,7 @@ qa_source() {
local retval
source "$@"
retval=$?
+ set +e
[[ $shopts != $(shopt) ]] &&
eqawarn "QA Notice: Global shell options changed and were not restored while sourcing '$*'"
[[ "$IFS" != "$OLDIFS" ]] &&
@@ -47,6 +48,7 @@ qa_call() {
local retval
"$@"
retval=$?
+ set +e
[[ $shopts != $(shopt) ]] &&
eqawarn "QA Notice: Global shell options changed and were not restored while calling '$*'"
[[ "$IFS" != "$OLDIFS" ]] &&