mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: use [*] inside arbitrary strings.
Only use `[@]` as only content of a string. e.g., "${foo[@]}"
This commit is contained in:
parent
789eb023b1
commit
73a8c92d43
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue