diff options
| author | Max Howell | 2012-08-10 16:08:50 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-13 10:14:59 -0400 |
| commit | b96bd9ac3b16d515d5756aaf8b17c3e35ba9a5ec (patch) | |
| tree | fd31d1caa2f9cd74acfd5e842e71bb36bf0be1e0 /Library | |
| parent | 996636445c510f65c1a94adc575265424469cdf6 (diff) | |
| download | homebrew-b96bd9ac3b16d515d5756aaf8b17c3e35ba9a5ec.tar.bz2 | |
Don't fail if ENOENT
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index da0f641cb..553d7527e 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -145,7 +145,7 @@ class Pathname rmdir true rescue SystemCallError => e - raise unless e.errno == Errno::ENOTEMPTY::Errno or e.errno == Errno::EACCES::Errno + raise unless e.errno == Errno::ENOTEMPTY::Errno or e.errno == Errno::EACCES::Errno or e.errno == Errno::ENOENT::Errno false end |
