From aa3a922c52037eeeca78d28d8077473a159a55ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 9 Dec 2022 08:31:27 +0700 Subject: [PATCH] env/setup/sourcepkg: fix for multiple env variables' value --- common/environment/setup/sourcepkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/environment/setup/sourcepkg.sh b/common/environment/setup/sourcepkg.sh index 1a27a4b868f..316f915c6f6 100644 --- a/common/environment/setup/sourcepkg.sh +++ b/common/environment/setup/sourcepkg.sh @@ -2,7 +2,7 @@ # the package template (excluding subpackages). # Exported variables -for var in $(env | sed -e 's/=.*//'); do +for var in $(awk 'BEGIN{for (i in ENVIRON) {print i}}'