From 5a07c8e08793d35e2d9d67836ea022136bb6830e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 27 Oct 2012 03:00:50 -0700 Subject: [PATCH] die: use local IFS setting This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in order to avoid potentially strange results. --- bin/isolated-functions.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2