Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:multilib commit in: bin/
Date: Mon, 02 Jul 2012 05:23:10
Message-Id: 1341206534.bf98260e8cc570cd64de5ff6e66f06ecfc359f2d.zmedico@gentoo
1 commit: bf98260e8cc570cd64de5ff6e66f06ecfc359f2d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 2 05:22:14 2012 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 2 05:22:14 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bf98260e
7
8 phase-helpers.sh: remove subshell from use()
9
10 ---
11 bin/phase-helpers.sh | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
15 index 6e06044..b9e8bbf 100644
16 --- a/bin/phase-helpers.sh
17 +++ b/bin/phase-helpers.sh
18 @@ -196,7 +196,7 @@ use() {
19
20 # Make sure we have this USE flag in IUSE
21 elif [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then
22 - ( [[ " ${FEATURES} " == *" force-multilib "* ]] && [[ $u == multilib ]] ) || \
23 + [[ " ${FEATURES} " == *" force-multilib "* && $u == multilib ]] || \
24 [[ $u =~ $PORTAGE_IUSE ]] || \
25 eqawarn "QA Notice: USE Flag '${u}' not" \
26 "in IUSE for ${CATEGORY}/${PF}"