diff options
| author | Mike McQuaid | 2017-09-25 09:42:16 +0100 |
|---|---|---|
| committer | GitHub | 2017-09-25 09:42:16 +0100 |
| commit | 3cd2373e2f961ad4c37109b518b13af81b865285 (patch) | |
| tree | ba5dc18c85155c7b2c8f97243781ab69027106ca | |
| parent | 82aa148cb262cad831daa800da4f02d1b6e95dbf (diff) | |
| parent | 9697c8638cc11b8eace4b783d8d3114c24871007 (diff) | |
| download | brew-3cd2373e2f961ad4c37109b518b13af81b865285.tar.bz2 | |
Merge pull request #3207 from MikeMcQuaid/vendor-install-stderr
vendor-install: output only to stderr.
| -rw-r--r-- | Library/Homebrew/cmd/vendor-install.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/vendor-install.sh b/Library/Homebrew/cmd/vendor-install.sh index 4ffa17659..227731244 100644 --- a/Library/Homebrew/cmd/vendor-install.sh +++ b/Library/Homebrew/cmd/vendor-install.sh @@ -48,17 +48,17 @@ fetch() { temporary_path="$CACHED_LOCATION.incomplete" mkdir -p "$HOMEBREW_CACHE" - [[ -n "$HOMEBREW_QUIET" ]] || echo "==> Downloading $VENDOR_URL" + [[ -n "$HOMEBREW_QUIET" ]] || echo "==> Downloading $VENDOR_URL" >&2 if [[ -f "$CACHED_LOCATION" ]] then - [[ -n "$HOMEBREW_QUIET" ]] || echo "Already downloaded: $CACHED_LOCATION" + [[ -n "$HOMEBREW_QUIET" ]] || echo "Already downloaded: $CACHED_LOCATION" >&2 else if [[ -f "$temporary_path" ]] then "$HOMEBREW_CURL" "${curl_args[@]}" -C - "$VENDOR_URL" -o "$temporary_path" if [[ $? -eq 33 ]] then - [[ -n "$HOMEBREW_QUIET" ]] || echo "Trying a full download" + [[ -n "$HOMEBREW_QUIET" ]] || echo "Trying a full download" >&2 rm -f "$temporary_path" "$HOMEBREW_CURL" "${curl_args[@]}" "$VENDOR_URL" -o "$temporary_path" fi @@ -135,7 +135,7 @@ install() { fi safe_cd "$VENDOR_DIR" - [[ -n "$HOMEBREW_QUIET" ]] || echo "==> Pouring $(basename "$VENDOR_URL")" + [[ -n "$HOMEBREW_QUIET" ]] || echo "==> Pouring $(basename "$VENDOR_URL")" >&2 tar "$tar_args" "$CACHED_LOCATION" safe_cd "$VENDOR_DIR/portable-$VENDOR_NAME" |
