From 28ee57aa3c2a57336773f6f2dc422fa4160adce0 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 10 Aug 2012 16:08:50 -0400 Subject: [PATCH] Don't fail if ENOENT --- Library/Homebrew/extend/pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index da0f641cbc..553d7527e3 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