1 |
commit: 9de9d52da4a36f1308a837fd2c4803e893ef9e97 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 16:35:02 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 16:39:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de9d52d |
7 |
|
8 |
unpacker.eclass: respect AR variable in unpack_deb |
9 |
|
10 |
Closes: https://bugs.gentoo.org/722054 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
eclass/unpacker.eclass | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass |
17 |
index 370f0a9c59a..865e2e1a1a5 100644 |
18 |
--- a/eclass/unpacker.eclass |
19 |
+++ b/eclass/unpacker.eclass |
20 |
@@ -279,7 +279,8 @@ unpack_deb() { |
21 |
done |
22 |
} < "${deb}" |
23 |
else |
24 |
- ar x "${deb}" |
25 |
+ local AR=${AR-ar} |
26 |
+ ${AR} x "${deb}" || die |
27 |
fi |
28 |
|
29 |
unpacker ./data.tar* |