public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergei Trofimovich <slyfox@gentoo.org>
To: Mike Gilbert <floppym@gentoo.org>, gentoo-dev@lists.gentoo.org
Cc: base-system@gentoo.org
Subject: Re: [gentoo-dev] [PATCH] unpacker.eclass: call BUILD_AR when unpacking deb files
Date: Mon, 22 Jun 2020 19:05:14 +0100	[thread overview]
Message-ID: <20200622190514.78c31ef5@sf> (raw)
In-Reply-To: <20200622151055.1071297-1-floppym@gentoo.org>

On Mon, 22 Jun 2020 11:10:55 -0400
Mike Gilbert <floppym@gentoo.org> wrote:

> Closes: https://bugs.gentoo.org/722054
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
> ---
>  eclass/unpacker.eclass | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
> index 865e2e1a1a58..63aedee4480e 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*
> -- 
> 2.27.0

Looks good!

-- 

  Sergei


      reply	other threads:[~2020-06-22 18:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 15:10 [gentoo-dev] [PATCH] unpacker.eclass: call BUILD_AR when unpacking deb files Mike Gilbert
2020-06-22 18:05 ` Sergei Trofimovich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200622190514.78c31ef5@sf \
    --to=slyfox@gentoo.org \
    --cc=base-system@gentoo.org \
    --cc=floppym@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox