summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-10 12:35:02 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-10 12:39:44 -0400
commit9de9d52da4a36f1308a837fd2c4803e893ef9e97 (patch)
tree9ec4ac00fe831432d41cc27792850ca41528f2fa
parentx11-misc/projecteur: drop old version (diff)
downloadgentoo-9de9d52da4a36f1308a837fd2c4803e893ef9e97.tar.gz
gentoo-9de9d52da4a36f1308a837fd2c4803e893ef9e97.tar.bz2
gentoo-9de9d52da4a36f1308a837fd2c4803e893ef9e97.zip
unpacker.eclass: respect AR variable in unpack_deb
Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--eclass/unpacker.eclass3
1 files changed, 2 insertions, 1 deletions
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*