diff options
| author | Tails developers <amnesia@boum.org> | 2012-03-22 19:44:24 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-05 07:50:33 +0200 |
| commit | fe3b574c47a81858e256abd8fde409eda4dc99e1 (patch) | |
| tree | 38ff51463c407d27c4048db7ac88f64d3c5957df /scripts | |
| parent | a9d29ee385fb31d8e5bda0ba649afb54914673c5 (diff) | |
| download | live-boot-fe3b574c47a81858e256abd8fde409eda4dc99e1.tar.gz live-boot-fe3b574c47a81858e256abd8fde409eda4dc99e1.zip | |
Also create parents when creating union/linkfiles source directories.
Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/live-helpers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers index 0ab36b9..13a8cec 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -1436,7 +1436,7 @@ activate_custom_mounts () then # unions and don't need to be bootstrapped # linkfiles dirs can't be bootstrapped in a sensible way - mkdir "${source}" + mkdir -p "${source}" chown --reference "${dest}" "${source}" chmod --reference "${dest}" "${source}" else |
