summaryrefslogtreecommitdiff
path: root/eclass/unpacker.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/unpacker.eclass')
-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*