release: use tab-delimited variables in AZURE_UPLOAD_CONF

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Glen Barber 2021-10-13 16:39:10 -04:00
parent 9f03d2c001
commit 083f6d0e5d

View File

@ -12,7 +12,7 @@ CLEANFILES+= ${AZURE_UPLOAD_TGTS}
.if defined(AZURE_UPLOAD_CONF) && !empty(AZURE_UPLOAD_CONF)
. for VAR in _STORAGE _ACCOUNT _RESOURCEGROUP _KEY _LOCATION
AZURE${VAR}!= grep -E ^AZURE${VAR}= ${AZURE_UPLOAD_CONF} | awk '{print $$2}'
AZURE${VAR}!= grep -E '^AZURE${VAR}' ${AZURE_UPLOAD_CONF} | awk -F ' ' '{print $$2}'
. endfor
.endif