aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authorMartin Afanasjew2016-04-06 01:29:24 +0200
committerMartin Afanasjew2016-04-07 08:25:41 +0200
commit8ab2fb6868497023e369df939690af2a101ecafc (patch)
treec0731063af0501fca30b024402754e34f15b7f15 /Library/Homebrew/utils
parente747648c53267111691e38f1f53c8951f7baf1b0 (diff)
downloadbrew-8ab2fb6868497023e369df939690af2a101ecafc.tar.bz2
analytics: avoid unnecessary string interpolation
Diffstat (limited to 'Library/Homebrew/utils')
-rw-r--r--Library/Homebrew/utils/analytics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb
index 15de20445..66be5696a 100644
--- a/Library/Homebrew/utils/analytics.rb
+++ b/Library/Homebrew/utils/analytics.rb
@@ -18,7 +18,7 @@ def report_analytics(type, metadata={})
# https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
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}",
+ "--user-agent", HOMEBREW_USER_AGENT_CURL,
"-d", "tid=#{ENV["HOMEBREW_ANALYTICS_ID"]}",
"-d", "cid=#{ENV["HOMEBREW_ANALYTICS_USER_UUID"]}",
"-d", "aip=1",