From: Zac Medico Date: Sat, 27 Oct 2012 10:00:50 +0000 (-0700) Subject: die: use local IFS setting X-Git-Tag: v2.2.0_alpha143~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a07c8e08793d35e2d9d67836ea022136bb6830e;p=portage.git die: use local IFS setting This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in order to avoid potentially strange results. --- 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