commit: e424e535ba0ae80880ee13417713757161a925f0 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Mon Jun 22 15:07:39 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Jun 28 22:01:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e424e535
unpacker.eclass: call BUILD_AR when unpacking deb files Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> eclass/unpacker.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 865e2e1a1a5..63aedee4480 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -17,6 +17,8 @@ if [[ -z ${_UNPACKER_ECLASS} ]]; then _UNPACKER_ECLASS=1 +inherit toolchain-funcs + # @ECLASS-VARIABLE: UNPACKER_BZ2 # @DEFAULT_UNSET # @DESCRIPTION: @@ -279,8 +281,7 @@ unpack_deb() { done } < "${deb}" else - local AR=${AR-ar} - ${AR} x "${deb}" || die + $(tc-getBUILD_AR) x "${deb}" || die fi unpacker ./data.tar*
