diff options
| author | Jack Nagel | 2014-05-20 22:50:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-20 22:50:21 -0500 |
| commit | a9084c968cd1ddfc618cc039d2654c369e2615c6 (patch) | |
| tree | cdc689c5d77bed05d99ab53230851a6a5d5f821f /Library | |
| parent | 34cbbc99c340f31838184ce2d70501b77b4e2516 (diff) | |
| download | homebrew-a9084c968cd1ddfc618cc039d2654c369e2615c6.tar.bz2 | |
Don't try to lock the same formula more than once
Fixes #28765.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 1 |
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 |
