Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13166 - main/branches/2.1.6/bin
Date: Mon, 23 Mar 2009 02:22:23
Message-Id: E1LlZnx-0004c0-PB@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-03-23 02:22:21 +0000 (Mon, 23 Mar 2009)
3 New Revision: 13166
4
5 Modified:
6 main/branches/2.1.6/bin/ebuild.sh
7 Log:
8 Use a separate if/then to group boolean or'd expressions together, rather
9 than a subshell. (trunk r13149)
10
11 Modified: main/branches/2.1.6/bin/ebuild.sh
12 ===================================================================
13 --- main/branches/2.1.6/bin/ebuild.sh 2009-03-23 02:22:06 UTC (rev 13165)
14 +++ main/branches/2.1.6/bin/ebuild.sh 2009-03-23 02:22:21 UTC (rev 13166)
15 @@ -1862,12 +1862,11 @@
16 unset PORTAGE_SANDBOX_ON
17 fi
18
19 -if ! hasq "$EBUILD_PHASE" clean cleanrm && \
20 - (
21 - hasq ${EBUILD_PHASE} depend || \
22 - [[ ! -f $T/environment || -f $PORTAGE_BUILDDIR/.ebuild_changed ]] || \
23 - hasq noauto ${FEATURES}
24 - ) ; then
25 +if ! hasq "$EBUILD_PHASE" clean cleanrm ; then
26 +if [[ $EBUILD_PHASE = depend || ! -f $T/environment || \
27 + -f $PORTAGE_BUILDDIR/.ebuild_changed ]] || \
28 + hasq noauto $FEATURES ; then
29 +
30 # The bashrcs get an opportunity here to set aliases that will be expanded
31 # during sourcing of ebuilds and eclasses.
32 source_all_bashrcs
33 @@ -1907,6 +1906,7 @@
34 # This needs to be exported since prepstrip is a separate shell script.
35 [[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED
36 fi
37 +fi
38
39 # Set default EAPI if necessary, so that most
40 # code can simply assume that it's defined.