From 71218a29d22f335eccaa5870e46b3667f134c4b7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 23 Oct 2013 12:39:42 +0100 Subject: installer: don't try and unlink nil tabfile. Closes Homebrew/homebrew#23472. --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a7b233cf3..0a6277384 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -534,7 +534,7 @@ class FormulaInstaller return if stdlibs.empty? tab = Tab.for_formula(f) - tab.tabfile.unlink + tab.tabfile.unlink if tab.tabfile # It's technically possible for the same lib to link to multiple C++ stdlibs, # but very bad news. Right now we don't track this woeful scenario. tab.stdlib = stdlibs.first -- cgit v1.2.3