Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] doins: don't clobber _E_INSDESTTREE_
Date: Thu, 08 Mar 2018 19:17:06
Message-Id: 20180308191700.18964-1-floppym@gentoo.org
1 This might be set by another helper function (doconfd, doenvd, doheader).
2
3 Bug: https://bugs.gentoo.org/649946
4 Fixes: a5d0111d0bdaa7ee9e5c68e22b4a97ce415e119b
5 ---
6 bin/ebuild-helpers/doins | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins
10 index 327d409a4..219bbe5d7 100755
11 --- a/bin/ebuild-helpers/doins
12 +++ b/bin/ebuild-helpers/doins
13 @@ -20,7 +20,7 @@ else
14 if ! ___eapi_has_DESTTREE_INSDESTTREE; then
15 [[ -n ${INSDESTTREE} ]] &&
16 die "${0##*/}: \${INSDESTTREE} has been banned for EAPI '$EAPI'; use 'into' instead"
17 - else
18 + elif [[ -z ${_E_INSDESTTREE_+set} ]]; then
19 # backwards compatibility
20 _E_INSDESTTREE_=${INSDESTTREE}
21 fi
22 --
23 2.16.2

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] doins: don't clobber _E_INSDESTTREE_ "Michał Górny" <mgorny@g.o>