Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 28 Jun 2020 22:01:59
Message-Id: 1593381700.e424e535ba0ae80880ee13417713757161a925f0.floppym@gentoo
1 commit: e424e535ba0ae80880ee13417713757161a925f0
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 22 15:07:39 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 28 22:01:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e424e535
7
8 unpacker.eclass: call BUILD_AR when unpacking deb files
9
10 Closes: https://bugs.gentoo.org/722054
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 eclass/unpacker.eclass | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
17 index 865e2e1a1a5..63aedee4480 100644
18 --- a/eclass/unpacker.eclass
19 +++ b/eclass/unpacker.eclass
20 @@ -17,6 +17,8 @@
21 if [[ -z ${_UNPACKER_ECLASS} ]]; then
22 _UNPACKER_ECLASS=1
23
24 +inherit toolchain-funcs
25 +
26 # @ECLASS-VARIABLE: UNPACKER_BZ2
27 # @DEFAULT_UNSET
28 # @DESCRIPTION:
29 @@ -279,8 +281,7 @@ unpack_deb() {
30 done
31 } < "${deb}"
32 else
33 - local AR=${AR-ar}
34 - ${AR} x "${deb}" || die
35 + $(tc-getBUILD_AR) x "${deb}" || die
36 fi
37
38 unpacker ./data.tar*