From fe3b574c47a81858e256abd8fde409eda4dc99e1 Mon Sep 17 00:00:00 2001 From: Tails developers Date: Thu, 22 Mar 2012 19:44:24 +0100 Subject: Also create parents when creating union/linkfiles source directories. Otherwise the it breaks with "source=a/b" if "a" doesn't exist etc. --- scripts/live-helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3