summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--functions2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 111c0e2..2a3db4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ debootstrap (1.0.11) UNRELEASED; urgency=low
when linked to /bin/sh (closes: #340058).
* Fix --unpack-tarball= option (thanks, Torsten Landschoff; closes:
#500759).
+ * Fix handling of relative DEBOOTSTRAP_DIR (thanks, Mikhail Gusarov;
+ closes: #503460).
-- Colin Watson <cjwatson@ubuntu.com> Fri, 31 Oct 2008 13:37:01 +0000
diff --git a/functions b/functions
index 39c946f..4b70c5e 100644
--- a/functions
+++ b/functions
@@ -862,7 +862,7 @@ setup_devices () {
setup_devices_hurd ;;
*)
if [ -e "$DEVICES_TARGZ" ]; then
- (cd "$TARGET"; zcat "$DEVICES_TARGZ" | tar -xf -)
+ zcat "$DEVICES_TARGZ" | (cd "$TARGET"; tar -xf -)
else
if [ -e /dev/.devfsd ] ; then
in_target mount -t devfs devfs /dev