Merge pull request #5069 from MikeMcQuaid/update-reset-fix

update-reset: fix Bash syntax.
This commit is contained in:
Mike McQuaid 2018-10-08 19:07:55 +01:00 committed by GitHub
commit c54a657cd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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