aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-04 10:49:35 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-04 22:03:56 +0100
commita5d0111d0bdaa7ee9e5c68e22b4a97ce415e119b (patch)
tree633f057e88ce4f78207c81d6d7218bddc39c6c8e /bin/save-ebuild-env.sh
parentdomo: force /usr prefix in EAPI 7 (diff)
downloadportage-a5d0111d0bdaa7ee9e5c68e22b4a97ce415e119b.tar.gz
portage-a5d0111d0bdaa7ee9e5c68e22b4a97ce415e119b.tar.bz2
portage-a5d0111d0bdaa7ee9e5c68e22b4a97ce415e119b.zip
Ban DESTTREE/INSDESTTREE in EAPI 7
Ban the direct use of DESTTREE/INSDESTTREE in EAPI 7. Use new _E_* helper variables for into/insinto. Bug: https://bugs.gentoo.org/173630 Closes: https://github.com/gentoo/portage/pull/261 Series-Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/save-ebuild-env.sh')
-rw-r--r--bin/save-ebuild-env.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index f0bf00130..e5ae8af88 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @FUNCTION: __save_ebuild_env
@@ -13,7 +13,7 @@
__save_ebuild_env() {
(
if has --exclude-init-phases $* ; then
- unset S _E_DOCDESTTREE_ _E_EXEDESTTREE_ \
+ unset S _E_DESTTREE _E_INSDESTTREE _E_DOCDESTTREE_ _E_EXEDESTTREE_ \
PORTAGE_DOCOMPRESS_SIZE_LIMIT PORTAGE_DOCOMPRESS \
PORTAGE_DOCOMPRESS_SKIP
if [[ -n $PYTHONPATH &&