fix: use [*] inside arbitrary strings.

Only use `[@]` as only content of a string. e.g., "${foo[@]}"
This commit is contained in:
Christian Höltje 2021-11-07 12:08:05 -05:00 committed by GitHub
parent 789eb023b1
commit 73a8c92d43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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