aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils')
-rw-r--r--Library/Homebrew/utils/analytics.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb
index 9995a174f..15de20445 100644
--- a/Library/Homebrew/utils/analytics.rb
+++ b/Library/Homebrew/utils/analytics.rb
@@ -16,8 +16,8 @@ def report_analytics(type, metadata={})
# any personally identifiable information.
# https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
# https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
- system "curl", "https://www.google-analytics.com/collect", "-d", "v=1",
- "--silent", "--max-time", "3", "--output", "/dev/null",
+ system ENV["HOMEBREW_CURL"], "https://www.google-analytics.com/collect",
+ "-d", "v=1", "--silent", "--max-time", "3", "--output", "/dev/null",
"--user-agent", "#{HOMEBREW_USER_AGENT_CURL}",
"-d", "tid=#{ENV["HOMEBREW_ANALYTICS_ID"]}",
"-d", "cid=#{ENV["HOMEBREW_ANALYTICS_USER_UUID"]}",