git: 9c0287e0920a - main - release: Remove unused variables in azure Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Nov 2021 08:44:15 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=9c0287e0920ad7a16c75e62e914cd69c439dba1c
commit 9c0287e0920ad7a16c75e62e914cd69c439dba1c
Author: Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-11-04 08:42:38 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-11-04 08:42:38 +0000
release: Remove unused variables in azure Makefile
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
---
release/Makefile.azure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/Makefile.azure b/release/Makefile.azure
index bc6f8859dea9..4e9e33184dfc 100644
--- a/release/Makefile.azure
+++ b/release/Makefile.azure
@@ -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