diff options
| author | Jack Nagel | 2014-05-20 22:50:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-20 22:50:21 -0500 |
| commit | 25e6c6f120782cfa1dfb8223dbcd3bd279978a9c (patch) | |
| tree | 169dae377ada2855f1e14cfa62edc4707478c2a4 /Library/Homebrew | |
| parent | ad7adcee972bab29fae8f35e41b283f3a7252e16 (diff) | |
| download | brew-25e6c6f120782cfa1dfb8223dbcd3bd279978a9c.tar.bz2 | |
Don't try to lock the same formula more than once
Fixes Homebrew/homebrew#28765.
Diffstat (limited to 'Library/Homebrew')
| -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 |
