summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-05-16 22:06:36 +0000
committerOlivier Blin <oblin@mandriva.com>2007-05-16 22:06:36 +0000
commit385a7bbd398ea68839fdae6e9ebd89f3e06c976b (patch)
tree106731cc27f1e0d20eb0d389722371e683822b95
parent6ab270e410a885b4c9f75458c3e580142425ce3c (diff)
downloaddraklive-385a7bbd398ea68839fdae6e9ebd89f3e06c976b.tar
draklive-385a7bbd398ea68839fdae6e9ebd89f3e06c976b.tar.gz
draklive-385a7bbd398ea68839fdae6e9ebd89f3e06c976b.tar.bz2
draklive-385a7bbd398ea68839fdae6e9ebd89f3e06c976b.tar.xz
draklive-385a7bbd398ea68839fdae6e9ebd89f3e06c976b.zip
use busybox's mkdir since nash's "mkdir -p" does not have the standard behavior
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 50a6fa4..4fb83a6 100755
--- a/draklive
+++ b/draklive
@@ -491,7 +491,7 @@ sub create_initrd_scriptlet {
" -t $fs " . get_media_setting($media, 'source') . " $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}",
(map { $loop{$_->{type}}{mount}->($live, $_) } grep { exists $loop{$_->{type}}{mount} } @{$live->{mount}{dirs} || []}),
($live->{mount}{overlay} ? $overlay{$live->{mount}{overlay}}{mount}->($live) : ()),
- (map { ("mkdir -p $target$_", "/bin/mount -n --move $_ $target$_") }
+ (map { ("/bin/mkdir -p $target$_", "/bin/mount -n --move $_ $target$_") }
if_($live->{mount}{overlay}, $live->{prefix}{live}{mnt} . $live->{prefix}{media}{mnt}),
map { $live->{prefix}{live}{mnt} . $_->{mountpoint} } grep { !$_->{fallback} } @{$live->{mount}{dirs} || []}
),