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/patch.rb | |
| parent | c21abf0e3ab89e0218a26905fe44725e19cbf675 (diff) | |
| download | brew-021cef4b2bfebe330fa55e9dcc904a08932bad94.tar.bz2 | |
Autocorrect Rubocop Style/SpecialGlobalVars.
Diffstat (limited to 'Library/Homebrew/patch.rb')
| -rw-r--r-- | Library/Homebrew/patch.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index 7f5a6af35..7045adf5e 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -68,7 +68,7 @@ class EmbeddedPatch      cmd = "/usr/bin/patch"      args = %W[-g 0 -f -#{strip}]      IO.popen("#{cmd} #{args.join(" ")}", "w") { |p| p.write(data) } -    raise ErrorDuringExecution.new(cmd, args) unless $?.success? +    raise ErrorDuringExecution.new(cmd, args) unless $CHILD_STATUS.success?    end    def inspect | 
