git: 083f6d0e5d58 - main - release: use tab-delimited variables in AZURE_UPLOAD_CONF
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Oct 2021 20:40:01 UTC
The branch main has been updated by gjb:
URL: https://cgit.FreeBSD.org/src/commit/?id=083f6d0e5d58e9ad6bccc782859c8a28d82c9889
commit 083f6d0e5d58e9ad6bccc782859c8a28d82c9889
Author: Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2021-10-13 20:39:10 +0000
Commit: Glen Barber <gjb@FreeBSD.org>
CommitDate: 2021-10-13 20:39:51 +0000
release: use tab-delimited variables in AZURE_UPLOAD_CONF
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
release/Makefile.azure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/release/Makefile.azure b/release/Makefile.azure
index b8e7418f35f7..00eacf22301b 100644
--- a/release/Makefile.azure
+++ b/release/Makefile.azure
@@ -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