diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index a858a0bf28..8f5408e1bb 100644 --- a/Library/Homebrew/brew.h.rb +++ b/Library/Homebrew/brew.h.rb @@ -179,7 +179,7 @@ def prune else # always showing symlinks text is deliberate print "Pruned #{$n} symbolic links " - print "and #{$n} directories " if $d > 0 + print "and #{$d} directories " if $d > 0 puts "from #{HOMEBREW_PREFIX}" end end diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 69e11983dd..a2ef1701cc 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -38,7 +38,7 @@ class Keg