Gentoo Archives: gentoo-commits

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