From 9094406c4fdc2f83351bd5660b180ba703ee18eb Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Mon, 15 Jan 2007 08:37:55 +0100 Subject: [PATCH] makechroot: fix nonbreakable spaces --- makechroot | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/makechroot b/makechroot index 405a461..1028c21 100755 --- a/makechroot +++ b/makechroot @@ -3,7 +3,8 @@ DIST="$1" DIR="$2" MIRROR="$3" -debootstrap "$DIST" "$DIR" $MIRROR +mkdir -p "$DIR" +debootstrap "$DIST" "$DIR" "$MIRROR" # debian_chroot echo $DIST > $DIR/etc/debian_chroot @@ -12,7 +13,7 @@ echo $DIST > $DIR/etc/debian_chroot perl -naF: -e 'print if $F[2] >= 1000 and $F[2] < 2000' /etc/passwd >> $DIR/etc/passwd # locale -chroot $DIR locale-gen $LANG +chroot $DIR locale-gen $LANG # bind mounts if ! grep -q $DIR /etc/fstab; then @@ -45,5 +46,5 @@ EOF chroot $DIR apt-get update # common packages for development -chroot $DIR apt-get install -y build-essential devscripts fakeroot +chroot $DIR apt-get install -y build-essential devscripts fakeroot -- 2.39.5