summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-21 17:34:55 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-21 19:28:27 +0200
commit272eb91bc4d59a58b0670adcff5fcb4cff353b95 (patch)
tree34093874b49f81d439a423b207bb1b981876f494 /Makefile
parent65770150b25eb3ff8f444397e01d3af8429468ad (diff)
fix sign command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 129aa8aa7..c6113e581 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ composer=$(shell which composer 2> /dev/null)
occ=$(CURDIR)/../../occ
private_key=$(HOME)/.owncloud/$(app_name).key
certificate=$(HOME)/.owncloud/$(app_name).crt
-sign="$(occ) integrity:sign-app --privateKey=$(private_key) --certificate=$(certificate)"
+sign=php -f $(occ) integrity:sign-app --privateKey="$(private_key)" --certificate="$(certificate)"
sign_skip_msg="Skipping signing, either no key and certificate found in $(private_key) and $(certificate) or occ can not be found at $(occ)"
ifneq (,$(wildcard $(private_key)))
ifneq (,$(wildcard $(certificate)))
@@ -183,7 +183,7 @@ appstore:
"js/admin/Admin.js" \
$(appstore_build_directory)
ifdef CAN_SIGN
- $(sign) --path $(appstore_build_directory)
+ $(sign) --path="$(appstore_build_directory)"
else
@echo $(sign_skip_msg)
endif