From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD48B138334 for ; Wed, 5 Jun 2019 20:33:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECEC4E087D; Wed, 5 Jun 2019 20:33:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF213E087D for ; Wed, 5 Jun 2019 20:33:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2CC2F345793 for ; Wed, 5 Jun 2019 20:33:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE67D604 for ; Wed, 5 Jun 2019 20:33:38 +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: <1559766749.7f1aac1113203cb43d2a44bfafd6b8deb045efea.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 7f1aac1113203cb43d2a44bfafd6b8deb045efea X-VCS-Branch: master Date: Wed, 5 Jun 2019 20:33:38 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 725e3ac2-e270-43b2-975b-acd022d5db6b X-Archives-Hash: 78312cba4491ca01c907bedc123e3fe8 commit: 7f1aac1113203cb43d2a44bfafd6b8deb045efea Author: Zac Medico gentoo org> AuthorDate: Wed Jun 5 20:28:52 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Jun 5 20:32:29 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7f1aac11 ebuild.sh: unexport ___in_portage_iuse function (bug 680810) The exported BASH_FUNC____in_portage_iuse%% variable can trigger problems for some shells, so do not export it. Reported-by: Fabian Groffen gentoo.org> Bug: https://bugs.gentoo.org/680810 Fixes: 9cac3bfa782f ("Speed up testing against IUSE by not using regexp") Signed-off-by: Zac Medico gentoo.org> bin/ebuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 20dff6f3f..50a0330f3 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -8,6 +8,7 @@ unalias -a # Make sure this isn't exported to scripts we execute. unset BASH_COMPAT +export -n -f ___in_portage_iuse source "${PORTAGE_BIN_PATH}/isolated-functions.sh" || exit 1