From: Mike Gilbert Date: Sun, 10 May 2020 16:35:02 +0000 (-0400) Subject: unpacker.eclass: respect AR variable in unpack_deb X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9de9d52da4a36f1308a837fd2c4803e893ef9e97;p=gentoo.git unpacker.eclass: respect AR variable in unpack_deb Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert --- diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 370f0a9c59ab..865e2e1a1a58 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -279,7 +279,8 @@ unpack_deb() { done } < "${deb}" else - ar x "${deb}" + local AR=${AR-ar} + ${AR} x "${deb}" || die fi unpacker ./data.tar*