diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-27 19:53:02 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-11 12:43:41 +0100 |
commit | 802e7d0bdd967d28c6dbb31fd84e8dfd540d794a (patch) | |
tree | 6f58e365b5f4b1d744fe1cb8f72b9b8f4044b2c1 /bin/eapi.sh | |
parent | Support ENV_UNSET for EAPI 7 (diff) | |
download | portage-802e7d0bdd967d28c6dbb31fd84e8dfd540d794a.tar.gz portage-802e7d0bdd967d28c6dbb31fd84e8dfd540d794a.tar.bz2 portage-802e7d0bdd967d28c6dbb31fd84e8dfd540d794a.zip |
Do not export PORTDIR & ECLASSDIR in EAPI 7
Bug: https://bugs.gentoo.org/373349
Bug: https://bugs.gentoo.org/373351
Closes: https://github.com/gentoo/portage/pull/264
Diffstat (limited to 'bin/eapi.sh')
-rw-r--r-- | bin/eapi.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/eapi.sh b/bin/eapi.sh index 569b8a0de..665b6f13e 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -38,6 +38,10 @@ ___eapi_has_RDEPEND_DEPEND_fallback() { [[ ${1-${EAPI-0}} =~ ^(0|1|2|3)$ ]] } +___eapi_has_PORTDIR_ECLASSDIR() { + [[ ${1-${EAPI-0}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-progress|6)$ ]] +} + # HELPERS PRESENCE ___eapi_has_dohard() { |