summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-13 19:35:12 (GMT)
committerColin Watson <cjwatson@debian.org>2009-01-13 19:35:12 (GMT)
commitbb59bba7d633df370324b9262a22fbfbe506f933 (patch)
tree5459a38741df7120382f56929b82fc927805f808 /functions
parent83e2e4e46a784b8aaa939a98cd23fd1c10763951 (diff)
downloaddebootstrap-bb59bba7d633df370324b9262a22fbfbe506f933.zip
debootstrap-bb59bba7d633df370324b9262a22fbfbe506f933.tar.gz
debootstrap-bb59bba7d633df370324b9262a22fbfbe506f933.tar.bz2
Fix handling of relative DEBOOTSTRAP_DIR (thanks, Mikhail Gusarov;
closes: #503460). r57244
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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