summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/unpacker.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass
index 370f0a9c59a..865e2e1a1a5 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*