Skip to content

Commit 73a8c92

Browse files
authored
fix: use [*] inside arbitrary strings.
Only use `[@]` as only content of a string. e.g., "${foo[@]}"
1 parent 789eb02 commit 73a8c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

share/deploy_doc.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ cd out
5353

5454
# No changes?
5555
if git diff --quiet --exit-code && [[ "${#LIST_ORIGINAL}" -eq "${#LIST_NEW}" ]]; then
56-
echo -- "<- ${LIST_ORIGINAL[@]}"
57-
echo -- "-> ${LIST_NEW[@]}"
56+
echo -- "<- ${LIST_ORIGINAL[*]}"
57+
echo -- "-> ${LIST_NEW[*]}"
5858
echo "NO CHANGES, exiting"
5959
exit 0
6060
fi

0 commit comments

Comments
 (0)