analytics: avoid unnecessary string interpolation

This commit is contained in:
Martin Afanasjew 2016-04-06 01:29:24 +02:00
parent e747648c53
commit 8ab2fb6868

View File

@ -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",