[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#503460: debootstrap: Relative directory name in DEBOOTSTRAP_DIR breaks bootstrap



Package: debootstrap
Version: 1.0.10
Severity: normal
Tags: patch

Patch which fixes use of relative directory name in DEBOOTSTRAP_DIR is attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (750, 'testing'), (700, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-openvz-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debootstrap depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  wget                1.11.4-2             retrieves files from the web

debootstrap recommends no packages.

debootstrap suggests no packages.

-- no debconf information
--- /usr/share/debootstrap/functions	2008-07-02 22:44:35.000000000 +0700
+++ debootstrap/functions	2008-10-26 16:05:13.000000000 +0600
@@ -862,7 +862,7 @@
 		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

Reply to: