aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/analytics.sh
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 19:57:19 +0100
committerMike McQuaid2016-09-18 19:57:19 +0100
commit3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708 (patch)
tree609a33441201227f7a6a81bcb61d8a3d17e2c8a3 /Library/Homebrew/utils/analytics.sh
parentf4a8d28819f1fee73fcc63d08e70cb36eecdfb20 (diff)
downloadbrew-3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708.tar.bz2
Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
Diffstat (limited to 'Library/Homebrew/utils/analytics.sh')
-rw-r--r--Library/Homebrew/utils/analytics.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/analytics.sh b/Library/Homebrew/utils/analytics.sh
index b37cd3e8e..0bc58c0be 100644
--- a/Library/Homebrew/utils/analytics.sh
+++ b/Library/Homebrew/utils/analytics.sh
@@ -38,7 +38,7 @@ 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" ]]
+ elif [[ -n "$HOMEBREW_MACOS" ]]
then
HOMEBREW_ANALYTICS_USER_UUID="$(/usr/bin/uuidgen)"
else