diff options
| author | Max Howell | 2012-08-10 16:08:50 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-13 10:14:59 -0400 |
| commit | 28ee57aa3c2a57336773f6f2dc422fa4160adce0 (patch) | |
| tree | 72e7044f6097d049b6f191fde082617dc6dfaab9 /Library/Homebrew/extend | |
| parent | ad80c616b8348e76f2e3f34ba3771cef93c9ad89 (diff) | |
| download | brew-28ee57aa3c2a57336773f6f2dc422fa4160adce0.tar.bz2 | |
Don't fail if ENOENT
Diffstat (limited to 'Library/Homebrew/extend')
| -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 |
