summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55489464e..aab7591f2 100644
--- a/Makefile
+++ b/Makefile
@@ -164,8 +164,8 @@ appstore:
cp js/admin/Admin.js $(appstore_sign_dir)/$(app_name)/js/admin
# export the key and cert to a file
- printf "%s" "$(app_private_key)" > "$(cert_dir)/$(app_name).key"
- printf "%s" "$(app_public_crt)" > "$(cert_dir)/$(app_name).crt"
+ 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"
@if [ -f $(cert_dir)/$(app_name).key ]; then \
echo "Signing app files…"; \