From c80374f97172d24141c9db20addb38bd3ce93ac6 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 15 Sep 2020 00:40:55 -0600 Subject: [PATCH] unquote dummy var to allow splitting --- ab-openldap/ab-openldap-update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ab-openldap/ab-openldap-update.sh b/ab-openldap/ab-openldap-update.sh index 775c705..48101ea 100755 --- a/ab-openldap/ab-openldap-update.sh +++ b/ab-openldap/ab-openldap-update.sh @@ -115,7 +115,8 @@ else fi ## update files -set -- dummy "$updateFiles" +# remember: do NOT quote dummy var! +set -- dummy $updateFiles shift for file; do printf "\nchecking '%s' for updates... " "$file"