diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-25 10:30:26 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-10-25 12:06:30 +0100 |
commit | 9917bbe77466b90bed6e3aa18b0954986a6a13b1 (patch) | |
tree | 7dcc6aa5664e3906c70f6322a357b3968d736019 /Makefile | |
parent | d4570f387ed867dbc5429d8e24524b74f02c9490 (diff) |
Add file_from_env.php
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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…"; \ |