release: Remove unused variables in azure Makefile

Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2021-11-04 16:42:38 +08:00
parent 8abfbe5a79
commit 9c0287e092
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF

View File

@ -11,7 +11,7 @@ AZURE_UPLOAD_TGTS= azure-check-depends \
CLEANFILES+= ${AZURE_UPLOAD_TGTS}
.if defined(AZURE_UPLOAD_CONF) && !empty(AZURE_UPLOAD_CONF)
. for VAR in _STORAGE _ACCOUNT _RESOURCEGROUP _KEY _LOCATION
. for VAR in _STORAGE _ACCOUNT _KEY
AZURE${VAR}!= grep -E '^AZURE${VAR}' ${AZURE_UPLOAD_CONF} | awk -F ' ' '{print $$2}'
. endfor
.endif
@ -28,7 +28,7 @@ EXPIRY_DATE!= date -v+1m -I -u
azure-upload: ${AZURE_UPLOAD_TGTS}
azure-check-depends:
.for VAR in _STORAGE _ACCOUNT _RESOURCEGROUP _KEY _LOCATION
.for VAR in _STORAGE _ACCOUNT _KEY
. if !defined(AZURE${VAR}) || empty(AZURE${VAR})
@echo "Variable AZURE${VAR} cannot be empty."
@false