X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=681acc7cbbcaee35d3b44047d67ce64317d90673;hp=040909223d210df51ac73ea8c0488ccf912b1ade;hb=94e9a430bf4ae6728eee13b9be46d4d67d0efd87;hpb=f125515f466f828f41388805a8276975c9878c77 diff --git a/grml-debootstrap b/grml-debootstrap index 0409092..681acc7 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -574,6 +574,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