diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formulary.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/utils/popen.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 8a436531c..38f71c85a 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -86,7 +86,7 @@ class Formulary private def load_file - STDERR.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug? + $stderr.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug? raise FormulaUnavailableError.new(name) unless path.file? Formulary.load_formula_from_path(name, path) end @@ -199,7 +199,7 @@ class Formulary end def klass - STDERR.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug? + $stderr.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug? namespace = "FormulaNamespace#{Digest::MD5.hexdigest(contents)}" Formulary.load_formula(name, path, contents, namespace) end diff --git a/Library/Homebrew/utils/popen.rb b/Library/Homebrew/utils/popen.rb index 64dee8ddf..76e67b3a9 100644 --- a/Library/Homebrew/utils/popen.rb +++ b/Library/Homebrew/utils/popen.rb @@ -20,7 +20,7 @@ module Utils return pipe.read end else - STDERR.reopen("/dev/null", "w") + $stderr.reopen("/dev/null", "w") exec(*args) end end |
