aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-11 15:35:30 -0500
committerJack Nagel2013-06-11 15:35:30 -0500
commit28b9790dbd85b6367d51d51b71813d29377eb65b (patch)
tree0599ed8a6a8ddf8bffa9489bf4079b1db8ce45c2 /Library
parent15626b38cacd6151b9b215a421c433c9fcea8893 (diff)
downloadbrew-28b9790dbd85b6367d51d51b71813d29377eb65b.tar.bz2
FormulaInstaller: ensure locks are always released
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 4537e31d1..9d6fa0848 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -268,7 +268,7 @@ class FormulaInstaller
print "#{f.prefix}: #{f.prefix.abv}"
print ", built in #{pretty_duration build_time}" if build_time
puts
-
+ ensure
unlock if hold_locks?
end