summary refs log tree commit diff
path: root/profiles/impermanence-fix.patch
blob: c71a85ed5703f24ce4e7375bf06728534c099151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/create-directories.bash b/create-directories.bash
index 0c7c7f0..b959586 100755
--- a/create-directories.bash
+++ b/create-directories.bash
@@ -52,7 +52,7 @@ target="${target%/}"
 realSource="$(realpath -m "$sourceBase$target")"
 if [[ ! -d "$realSource" ]]; then
     printf "Warning: Source directory '%s' does not exist; it will be created for you with the following permissions: owner: '%s:%s', mode: '%s'.\n" "$realSource" "$user" "$group" "$mode"
-    mkdir --mode="$mode" "$realSource"
+    mkdir -p --mode="$mode" "$realSource"
     chown "$user:$group" "$realSource"
 fi