Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit 2346031

Browse files
committed
analytics.sh: Fix missing git for Linuxbrew
1 parent e2a8621 commit 2346031

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/utils/analytics.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ migrate-legacy-uuid-file() {
1515

1616
setup-analytics() {
1717
local git_config_file="$HOMEBREW_REPOSITORY/.git/config"
18+
test -r $git_config_file || return
1819

1920
migrate-legacy-uuid-file
2021

0 commit comments

Comments
 (0)