buildsys: fix common upload target interpretation

FWICT there's no way to escape the comma directly, so use a
intermediate variable to pass the correct value to the call

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-07-25 11:43:40 +02:00
parent 301bfb5b9a
commit f337b67f4c

View File

@ -100,8 +100,11 @@ pve-upload: pve-deb
$(call upload_template,pve,pve)
pmg-upload: pmg-deb
$(call upload_template,pmg,pmg)
# need to put into variable to ensure comma isn't interpreted as param separator on call
common_target=pve,pmg
common-upload: common-deb
$(call upload_template,proxmox,pve\,pmg)
$(call upload_template,proxmox,$(common_target))
.PHONY: clean
clean: