summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2006-05-20 20:11:24 -0700
committerBrian Harring <ferringb@gmail.com>2006-05-20 20:11:24 -0700
commit92a0d12e5e2ce8189a33db325be0966182fd77b8 (patch)
tree99546ab6f52207511a8bec2b7791ac6c96ad9ad5 /bin
parentI Hate Bash (diff)
downloadpkgcore-92a0d12e5e2ce8189a33db325be0966182fd77b8.tar.gz
pkgcore-92a0d12e5e2ce8189a33db325be0966182fd77b8.tar.bz2
pkgcore-92a0d12e5e2ce8189a33db325be0966182fd77b8.zip
disable any set -x tracing when diefunc is triggered
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild-env/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild-env/ebuild.sh b/bin/ebuild-env/ebuild.sh
index 270d7b20..76548412 100755
--- a/bin/ebuild-env/ebuild.sh
+++ b/bin/ebuild-env/ebuild.sh
@@ -70,6 +70,7 @@ alias save_IFS='[ "${IFS:-unset}" != "unset" ] && portage_old_IFS="${IFS}"'
alias restore_IFS='if [ "${portage_old_IFS:-unset}" != "unset" ]; then IFS="${portage_old_IFS}"; unset portage_old_IFS; else unset IFS; fi'
diefunc() {
+ set +x
local funcname="$1" lineno="$2" exitcode="$3"
shift 3
echo >&2