From 8928de9d1ff17f8665c8c4ff87e6bc23b57ed09b Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 8 Jul 2020 23:33:27 +0100 Subject: [PATCH] build: fix creation of extra data directory --- build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.php b/build.php index 4cda62e..d700a95 100644 --- a/build.php +++ b/build.php @@ -37,7 +37,7 @@ function register_module($settings) // Prepare any extra files if(!file_exists($paths->extra_data_directory)) - mkdir($paths->extra_data_directory, 0750); + mkdir($paths->extra_data_directory, 0750, true); foreach($settings["extra_data"] ?? [] as $filename => $file_def) { $destination_filename = "$paths->extra_data_directory/{$settings["id"]}/$filename";