summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2020-10-25 18:32:40 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-10-26 09:29:34 +0100
commit4e6915465e8669485fb3f2e93a6a2206fdc2f18b (patch)
treef73e160376e9cf59f616d28d3a06ec5889fcc63d
parent6502ce620c14556d7e1de17ca7f5957693ff36a6 (diff)
fix script fails if path doesn't exist
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aab7591f2..37a9a4625 100644
--- a/Makefile
+++ b/Makefile
@@ -164,6 +164,7 @@ appstore:
cp js/admin/Admin.js $(appstore_sign_dir)/$(app_name)/js/admin
# export the key and cert to a file
+ mkdir -p $(cert_dir)
php ./bin/tools/file_from_env.php "app_private_key" "$(cert_dir)/$(app_name).key"
php ./bin/tools/file_from_env.php "app_public_crt" "$(cert_dir)/$(app_name).crt"