From dbdf2c78c3d011383af20240c154cba9858ec65e Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 4 Oct 2012 14:30:56 -0500 Subject: Don't count mkpath in ObserverPathnameExtension mkpathed directories aren't really "linked" or "unlinked" per se, and link/unlink handle directories differently. It's easier just to ignore them, which finally synchronizes link/unlink counts. --- Library/Homebrew/extend/pathname.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index 9f6f1910b..bab1064d8 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -362,12 +362,6 @@ module ObserverPathnameExtension puts "rmdir #{to_s}" if ARGV.verbose? $d+=1 end - def mkpath - return if exist? - super - puts "mkpath #{to_s}" if ARGV.verbose? - $d+=1 - end def make_relative_symlink src super $n+=1 -- cgit v1.2.3