From d52a8a54012d0cfb5b2cd4128b9cda58eeddef33 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 11 Sep 2012 23:33:26 -0700 Subject: [PATCH] save-ebuild-env: don't filter apply_user_patches Except for EAPI 5_pre1. --- bin/save-ebuild-env.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh index 6d6ed41b6..cdc7c42ea 100644 --- a/bin/save-ebuild-env.sh +++ b/bin/save-ebuild-env.sh @@ -46,7 +46,7 @@ save_ebuild_env() { done unset x - unset -f apply_user_patches assert assert_sigpipe_ok \ + unset -f assert assert_sigpipe_ok \ dump_trace die diefunc \ quiet_mode vecho elog_base eqawarn elog \ esyslog einfo einfon ewarn eerror ebegin _eend eend KV_major \ @@ -78,6 +78,10 @@ save_ebuild_env() { *) unset -f usex ;; esac + case "${EAPI}" in + 5_pre1) unset -f apply_user_patches ;; + esac + # portage config variables and variables set directly by portage unset ACCEPT_LICENSE BAD BRACKET BUILD_PREFIX COLS \ DISTCC_DIR DISTDIR DOC_SYMLINKS_DIR \ -- 2.26.2