summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 704148ef3..68536ee82 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1873,10 +1873,6 @@ if ! hasq ${EBUILD_PHASE} clean && \
debug-print "RDEPEND: not set... Setting to: ${DEPEND}"
fi
- # Set default EAPI if necessary, so that most
- # code can simply assume that it's defined.
- [[ -n $EAPI ]] || EAPI=0
-
# add in dependency info from eclasses
IUSE="${IUSE} ${E_IUSE}"
DEPEND="${DEPEND} ${E_DEPEND}"
@@ -1887,6 +1883,10 @@ if ! hasq ${EBUILD_PHASE} clean && \
set +f
fi
+# Set default EAPI if necessary, so that most
+# code can simply assume that it's defined.
+[[ -n $EAPI ]] || EAPI=0
+
# enable bashrc support for the clean phase
[[ ${EBUILD_PHASE} == clean ]] && source_all_bashrcs