update-reset: fix Bash syntax.

This isn't valid syntax for a Bash array.
This commit is contained in:
Mike McQuaid 2018-10-08 18:41:46 +01:00
parent 711bb4977f
commit 06a66e254e
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -26,7 +26,7 @@ homebrew-update-reset() {
set -x
fi
if [[ -z "${REPOS[]}" ]]
if [[ -z "${REPOS[*]}" ]]
then
REPOS+=("$HOMEBREW_REPOSITORY" "$HOMEBREW_LIBRARY"/Taps/*/*)
fi