vendor-install: fix array syntax for old bash

This commit is contained in:
Misty De Meo 2017-05-11 08:58:40 -07:00
parent b8fee7fe4d
commit 6453c81dac
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C

View File

@ -39,10 +39,10 @@ fetch() {
if [[ -n "$HOMEBREW_QUIET" ]]
then
curl_args+=(--silent)
curl_args[${#curl_args[*]}]="--silent"
elif [[ -z "$HOMEBREW_VERBOSE" ]]
then
curl_args+=(--progress-bar)
curl_args[${#curl_args[*]}]="--progress-bar"
fi
temporary_path="$CACHED_LOCATION.incomplete"