Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/5] vcs-snapshot.eclass: Add verbose einfo for unpacking
Date: Thu, 25 Jul 2019 06:26:04
Message-Id: 20190725062504.30140-3-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/5] vcs-snapshot.eclass: Allow EAPI 7 by "Michał Górny"
1 Add an einfo call to make explicit notice of each archive being
2 unpacked.
3
4 Signed-off-by: Michał Górny <mgorny@g.o>
5 ---
6 eclass/vcs-snapshot.eclass | 1 +
7 1 file changed, 1 insertion(+)
8
9 diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass
10 index 2e734c509d1a..312e9a4611e1 100644
11 --- a/eclass/vcs-snapshot.eclass
12 +++ b/eclass/vcs-snapshot.eclass
13 @@ -72,6 +72,7 @@ vcs-snapshot_src_unpack() {
14 # fine? i.e. if the tarball has actually a parent dir.
15 mkdir "${destdir}" || die
16 # -o (--no-same-owner) to avoid restoring original owner
17 + einfo "Unpacking ${f}"
18 tar -C "${destdir}" -x -o --strip-components 1 \
19 -f "${DISTDIR}/${f}" || die
20 ;;
21 --
22 2.22.0