diff options
| author | Mike McQuaid | 2017-06-10 20:12:55 +0300 |
|---|---|---|
| committer | Mike McQuaid | 2017-06-12 09:11:42 +0100 |
| commit | 021cef4b2bfebe330fa55e9dcc904a08932bad94 (patch) | |
| tree | 835ed01ef034c83d219d8a5c34ed10b1d47f882f /Library/Homebrew/os | |
| parent | c21abf0e3ab89e0218a26905fe44725e19cbf675 (diff) | |
| download | brew-021cef4b2bfebe330fa55e9dcc904a08932bad94.tar.bz2 | |
Autocorrect Rubocop Style/SpecialGlobalVars.
Diffstat (limited to 'Library/Homebrew/os')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 885ef57e0..d957792af 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -118,7 +118,7 @@ module OS ].uniq.each do |xcodebuild_path| next unless File.executable? xcodebuild_path xcodebuild_output = Utils.popen_read(xcodebuild_path, "-version") - next unless $?.success? + next unless $CHILD_STATUS.success? xcode_version = xcodebuild_output[/Xcode (\d(\.\d)*)/, 1] return xcode_version if xcode_version |
