diff options
| author | Mike McQuaid | 2015-01-15 15:46:35 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-15 15:46:35 +0000 |
| commit | caa311a97b0974cb1b77e82c2c4976ea3e8eda7b (patch) | |
| tree | 70f13619a4b514c32b6c3f3588ee9b5f29153ece | |
| parent | 73f64ebf925adbb81467ec6d0ee4092e55c20424 (diff) | |
| download | homebrew-caa311a97b0974cb1b77e82c2c4976ea3e8eda7b.tar.bz2 | |
doctor: accepting the Xcode license requires sudo.
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
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 |
