summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-10-27 03:00:50 -0700
committerZac Medico <zmedico@gentoo.org>2012-10-27 03:00:50 -0700
commit5a07c8e08793d35e2d9d67836ea022136bb6830e (patch)
treef57ff62103b6ba4e6d30845dd418772e21a7253b /bin
parent4126fcfb04efcedaf857b0f6977effb82c24e1cb (diff)
downloadportage-5a07c8e08793d35e2d9d67836ea022136bb6830e.tar.gz
portage-5a07c8e08793d35e2d9d67836ea022136bb6830e.tar.bz2
portage-5a07c8e08793d35e2d9d67836ea022136bb6830e.zip
die: use local IFS setting
This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in order to avoid potentially strange results.
Diffstat (limited to 'bin')
-rw-r--r--bin/isolated-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index f8e7862ee..246c25f2d 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -107,6 +107,8 @@ __helpers_die() {
}
die() {
+ local IFS=$' \t\n'
+
if [[ $PORTAGE_NONFATAL -eq 1 ]]; then
echo -e " $WARN*$NORMAL ${FUNCNAME[1]}: WARNING: $@" >&2
return 1