X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=016e73d695229b58db4dec77fae6d72b44ac7791;hb=fdc37d4c8819b095dda1ca73846fc92523a232de;hp=53f1e20fc208975d87f2cfdcff99cdcd6dc0f09c;hpb=22e306074e919b92cbf50939112ac69e98c13a27;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 53f1e20..016e73d 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.33-pre1' +VERSION='0.33' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: @@ -576,6 +576,10 @@ set_target_directory(){ TUNE2FS='' FSCK='' GRUB='' + # make sure we normalise the path to an absolute directory name so something like: + # mkdir -p foo/a bar/a; (cd foo; grml-debootstrap -t a)&; (cd bar; grml-debootstrap -t a)&; wait + # works + TARGET="$(readlink -f $TARGET)" } if [ -b "$TARGET" ] ; then