diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-09-11 23:33:26 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-09-11 23:33:26 -0700 |
commit | d52a8a54012d0cfb5b2cd4128b9cda58eeddef33 (patch) | |
tree | 6adcf883d5617c334de066c9a19c6c69789691d2 | |
parent | Replace getstatusoutput with unicode safe Popen. (diff) | |
download | portage-d52a8a54012d0cfb5b2cd4128b9cda58eeddef33.tar.gz portage-d52a8a54012d0cfb5b2cd4128b9cda58eeddef33.tar.bz2 portage-d52a8a54012d0cfb5b2cd4128b9cda58eeddef33.zip |
save-ebuild-env: don't filter apply_user_patches
Except for EAPI 5_pre1.
-rw-r--r-- | bin/save-ebuild-env.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 \ |