aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-18 17:32:27 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-18 17:32:27 +0100
commit8afd881d6f364a8fd8b71f46602caeda30c5ffe0 (patch)
tree7f3df96143f18d242d730b124ef0594a14bb85e6
parentEAPI 6: Fail if eapply_user is not called in src_prepare() (diff)
downloadportage-8afd881d6f364a8fd8b71f46602caeda30c5ffe0.tar.gz
portage-8afd881d6f364a8fd8b71f46602caeda30c5ffe0.tar.bz2
portage-8afd881d6f364a8fd8b71f46602caeda30c5ffe0.zip
src_prepare: Do not expect eapply_user in EAPIs not having it
-rw-r--r--bin/phase-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
index abbc6029a..042e24249 100644
--- a/bin/phase-functions.sh
+++ b/bin/phase-functions.sh
@@ -376,7 +376,7 @@ __dyn_prepare() {
__ebuild_phase src_prepare
# keep path in eapply_user in sync!
- if [[ ! -f ${T}/.portage_user_patches_applied ]]; then
+ if ___eapi_has_eapply_user && [[ ! -f ${T}/.portage_user_patches_applied ]]; then
die "eapply_user (or default) must be called in src_prepare()!"
fi