From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2BE35138010 for ; Sat, 27 Oct 2012 10:01:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B41AEE05F8; Sat, 27 Oct 2012 10:01:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3C30EE05F8 for ; Sat, 27 Oct 2012 10:01:11 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7269033D8F0 for ; Sat, 27 Oct 2012 10:01:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 16692E5436 for ; Sat, 27 Oct 2012 10:01:09 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1351332050.5a07c8e08793d35e2d9d67836ea022136bb6830e.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 5a07c8e08793d35e2d9d67836ea022136bb6830e X-VCS-Branch: master Date: Sat, 27 Oct 2012 10:01:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9c6293cb-29dc-4b8e-ab93-358ba9456f63 X-Archives-Hash: 7d0dd077cf3ee3e9ad16af0ae749bd76 commit: 5a07c8e08793d35e2d9d67836ea022136bb6830e Author: Zac Medico gentoo org> AuthorDate: Sat Oct 27 10:00:50 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 27 10:00:50 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5a07c8e0 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 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index f8e7862..246c25f 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