Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH 5/7] eapply_user: make idempotent per changes to EAPI 6
Date: Mon, 09 Nov 2015 17:50:52
Message-Id: 1447091377-2902-6-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCHES] EAPI 6 updates by "Michał Górny"
1 ---
2 bin/phase-helpers.sh | 4 ++++
3 1 file changed, 4 insertions(+)
4
5 diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
6 index 2fea0b2..bd4e999 100644
7 --- a/bin/phase-helpers.sh
8 +++ b/bin/phase-helpers.sh
9 @@ -1070,6 +1070,10 @@ fi
10
11 if ___eapi_has_eapply_user; then
12 eapply_user() {
13 + local tagfile=${T}/.portage_user_patches_applied
14 + [[ -f ${tagfile} ]] && return
15 + touch "${tagfile}"
16 +
17 local basedir=${PORTAGE_CONFIGROOT%/}/etc/portage/patches
18
19 local d applied
20 --
21 2.6.3

Replies