From 8ec0e8d1308714cf8d114e52c637c67a8e5c1540 Mon Sep 17 00:00:00 2001 From: Jeff Neel <10672501+jeff350@users.noreply.github.com> Date: Thu, 24 Dec 2020 16:23:12 -0600 Subject: [PATCH] fix lint for sh --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 1b426d3..4570f78 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4130,7 +4130,7 @@ __install_saltstack_rhel_repository() { IFS=, gpg_key_urls="" for key in $gpg_key; do - gpg_key_urls+="${base_url}${key}," + gpg_key_urls=$(printf "${base_url}${key},%s" "$gpg_key_urls") done IFS=$Field_Separator