summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macos.c b/macos.c
index aa2be4b3b..ece7c83a1 100644
--- a/macos.c
+++ b/macos.c
@@ -56,6 +56,8 @@ static const char *system_default_path_append(const char *append)
memset(buffer, 0, len);
strcat(buffer, home);
strcat(buffer, path);
+ // make sure this path exists
+ subsurface_mkdir(buffer);
if (append) {
strcat(buffer, "/");
strcat(buffer, append);