diff options
| author | Misty De Meo | 2017-05-11 08:58:40 -0700 |
|---|---|---|
| committer | Misty De Meo | 2017-05-23 18:39:35 -0700 |
| commit | 6453c81dacc66ed892168351335482f83b087c34 (patch) | |
| tree | 07b28a7a7da8b15b1a74fde4b41c27ae9594db64 /Library/Homebrew/cmd | |
| parent | b8fee7fe4d727a624943212ae21113a00e1e1e2f (diff) | |
| download | brew-6453c81dacc66ed892168351335482f83b087c34.tar.bz2 | |
vendor-install: fix array syntax for old bash
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/vendor-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index 9ab004ee8..46f0c72f9 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -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" |
