From 73a8c92d43f57bca514e44b9fed14e941168c61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=B6ltje?= Date: Sun, 7 Nov 2021 12:08:05 -0500 Subject: [PATCH] fix: use [*] inside arbitrary strings. Only use `[@]` as only content of a string. e.g., "${foo[@]}" --- share/deploy_doc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/deploy_doc.sh b/share/deploy_doc.sh index fa23e8d9b..175bd038c 100755 --- a/share/deploy_doc.sh +++ b/share/deploy_doc.sh @@ -53,8 +53,8 @@ cd out # No changes? if git diff --quiet --exit-code && [[ "${#LIST_ORIGINAL}" -eq "${#LIST_NEW}" ]]; then - echo -- "<- ${LIST_ORIGINAL[@]}" - echo -- "-> ${LIST_NEW[@]}" + echo -- "<- ${LIST_ORIGINAL[*]}" + echo -- "-> ${LIST_NEW[*]}" echo "NO CHANGES, exiting" exit 0 fi