Don't try to lock the same formula more than once
Fixes Homebrew/homebrew#28765.
This commit is contained in:
parent
ad7adcee97
commit
25e6c6f120
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user