summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--functions2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 471977e..f133456 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+debootstrap (1.0.28) UNRELEASED; urgency=low
+
+ * Fix for ar usage, thanks to Guillem Jover. Closes: #598729
+
+ -- Miguel Figueiredo <elmig@debianpt.org> Thu, 10 Feb 2011 21:45:23 +0000
+
debootstrap (1.0.27) unstable; urgency=low
[ Miguel Figueiredo ]
diff --git a/functions b/functions
index d73c570..587d068 100644
--- a/functions
+++ b/functions
@@ -777,7 +777,7 @@ extract_ar_deb_data () {
esac
if type $cat_cmd >/dev/null 2>&1; then
- ar -p "$pkg" data.tar.gz | $cat_cmd | tar -xf -
+ ar -p "$pkg" "$tarball" | $cat_cmd | tar -xf -
else
error 1 UNPACKCMDUNVL "The $cat_cmd is not available on the system"
fi