aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
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