projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f125515
)
Install to directory: normalise the path to an absolute directory name.
author
Michael Prokop
<mika@grml.org>
Thu, 3 Dec 2009 18:21:18 +0000
(19:21 +0100)
committer
Michael Prokop
<mika@grml.org>
Thu, 3 Dec 2009 21:21:52 +0000
(22:21 +0100)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
0409092
..
681acc7
100755
(executable)
--- 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