aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2012-10-04 14:30:56 -0500
committerMisty De Meo2012-10-04 21:37:37 -0500
commitdbdf2c78c3d011383af20240c154cba9858ec65e (patch)
tree9e35c5c349404ef6fd337fbd2e4de4f677e49666 /Library
parent0f2fe4a61b3270db98defbaab794f63aa0bf24f2 (diff)
downloadbrew-dbdf2c78c3d011383af20240c154cba9858ec65e.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb6
1 files changed, 0 insertions, 6 deletions
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