diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils/analytics.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Library/Homebrew/utils/analytics.sh b/Library/Homebrew/utils/analytics.sh index 78af3a172..4503ac2f6 100644 --- a/Library/Homebrew/utils/analytics.sh +++ b/Library/Homebrew/utils/analytics.sh @@ -37,7 +37,7 @@ setup-analytics() { then if [[ -n "$HOMEBREW_LINUX" ]] then - HOMEBREW_ANALYTICS_USER_UUID="$(tr a-f A-F < /proc/sys/kernel/random/uuid)" + HOMEBREW_ANALYTICS_USER_UUID="$(tr a-f A-F </proc/sys/kernel/random/uuid)" elif [[ -n "$HOMEBREW_OSX" ]] then HOMEBREW_ANALYTICS_USER_UUID="$(/usr/bin/uuidgen)" @@ -91,16 +91,16 @@ report-analytics-screenview-command() { esac local args=( - --max-time 3 \ - --user-agent "$HOMEBREW_USER_AGENT_CURL" \ - -d v=1 \ - -d tid="$HOMEBREW_ANALYTICS_ID" \ - -d cid="$HOMEBREW_ANALYTICS_USER_UUID" \ - -d aip=1 \ - -d an="$HOMEBREW_PRODUCT" \ - -d av="$HOMEBREW_VERSION" \ - -d t=screenview \ - -d cd="$HOMEBREW_COMMAND" \ + --max-time 3 + --user-agent "$HOMEBREW_USER_AGENT_CURL" + -d v=1 + -d tid="$HOMEBREW_ANALYTICS_ID" + -d cid="$HOMEBREW_ANALYTICS_USER_UUID" + -d aip=1 + -d an="$HOMEBREW_PRODUCT" + -d av="$HOMEBREW_VERSION" + -d t=screenview + -d cd="$HOMEBREW_COMMAND" ) # Send analytics. Don't send or store any personally identifiable information. |
