1 |
--- |
2 |
bin/phase-helpers.sh | 2 ++ |
3 |
1 file changed, 2 insertions(+) |
4 |
|
5 |
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh |
6 |
index da9aa7c..f42f805 100644 |
7 |
--- a/bin/phase-helpers.sh |
8 |
+++ b/bin/phase-helpers.sh |
9 |
@@ -1079,6 +1079,8 @@ fi |
10 |
|
11 |
if ___eapi_has_eapply_user; then |
12 |
eapply_user() { |
13 |
+ [[ ${EBUILD_PHASE} == prepare ]] || \ |
14 |
+ die "eapply_user() called during invalid phase: ${EBUILD_PHASE}" |
15 |
# keep path in __dyn_prepare in sync! |
16 |
local tagfile=${T}/.portage_user_patches_applied |
17 |
[[ -f ${tagfile} ]] && return |
18 |
-- |
19 |
2.4.9 |