Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Wed, 05 Jun 2019 20:33:43
Message-Id: 1559766749.7f1aac1113203cb43d2a44bfafd6b8deb045efea.zmedico@gentoo
1 commit: 7f1aac1113203cb43d2a44bfafd6b8deb045efea
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 5 20:28:52 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 20:32:29 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7f1aac11
7
8 ebuild.sh: unexport ___in_portage_iuse function (bug 680810)
9
10 The exported BASH_FUNC____in_portage_iuse%% variable can trigger
11 problems for some shells, so do not export it.
12
13 Reported-by: Fabian Groffen <grobian <AT> gentoo.org>
14 Bug: https://bugs.gentoo.org/680810
15 Fixes: 9cac3bfa782f ("Speed up testing against IUSE by not using regexp")
16 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
17
18 bin/ebuild.sh | 1 +
19 1 file changed, 1 insertion(+)
20
21 diff --git a/bin/ebuild.sh b/bin/ebuild.sh
22 index 20dff6f3f..50a0330f3 100755
23 --- a/bin/ebuild.sh
24 +++ b/bin/ebuild.sh
25 @@ -8,6 +8,7 @@ unalias -a
26
27 # Make sure this isn't exported to scripts we execute.
28 unset BASH_COMPAT
29 +export -n -f ___in_portage_iuse
30
31 source "${PORTAGE_BIN_PATH}/isolated-functions.sh" || exit 1