Skip to content

Commit

Permalink
fix: use [*] inside arbitrary strings.
Browse files Browse the repository at this point in the history
Only use `[@]` as only content of a string. e.g., "${foo[@]}"
  • Loading branch information
docwhat authored Nov 7, 2021
1 parent 789eb02 commit 73a8c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/deploy_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73a8c92

Please sign in to comment.