aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 21c3115d2..28061442e 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -704,6 +704,7 @@ class FormulaInstaller
@@locked << dep.to_formula
end unless ignore_deps?
@@locked.unshift(f)
+ @@locked.uniq!
@@locked.each(&:lock)
@hold_locks = true
end