aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-01-15 15:46:35 +0000
committerMike McQuaid2015-01-15 15:46:35 +0000
commitfd8bb8776c9e4746458ca3f642b84e186e3eb377 (patch)
tree11afa1845ff8dac9bf5f455fbb13edf350d11458 /Library
parent3e3603e9fb3ae624cb614839f141166820615a9e (diff)
downloadbrew-fd8bb8776c9e4746458ca3f642b84e186e3eb377.tar.bz2
doctor: accepting the Xcode license requires sudo.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index d6d26006a..6239754da 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1158,7 +1158,7 @@ end
if `/usr/bin/xcrun clang 2>&1` =~ /license/ and not $?.success? then <<-EOS.undent
You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
- xcodebuild -license
+ sudo xcodebuild -license
EOS
end
end