Skip to content
Snippets Groups Projects
Commit 265c1263 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

analytics.sh: use full uuidgen path on OS X.

Fixes #575.
parent 43dafc98
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,9 @@ setup-analytics() {
if [[ -n "$HOMEBREW_LINUX" ]]
then
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)"
else
HOMEBREW_ANALYTICS_USER_UUID="$(uuidgen)"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment