aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils/analytics.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/utils/analytics.sh b/Library/Homebrew/utils/analytics.sh
index 24480b185..b37cd3e8e 100644
--- a/Library/Homebrew/utils/analytics.sh
+++ b/Library/Homebrew/utils/analytics.sh
@@ -113,9 +113,8 @@ report-analytics-screenview-command() {
"${args[@]}" \
--silent --output /dev/null &>/dev/null & disown
else
- echo "$HOMEBREW_CURL https://www.google-analytics.com/debug/collect" \
- "${args[@]}"
- "$HOMEBREW_CURL" https://www.google-analytics.com/debug/collect \
- "${args[@]}"
+ local url="https://www.google-analytics.com/debug/collect"
+ echo "$HOMEBREW_CURL $url ${args[*]}"
+ "$HOMEBREW_CURL" "$url" "${args[@]}"
fi
}