diff options
| author | Jack Nagel | 2013-02-17 22:54:27 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-18 12:13:35 -0600 |
| commit | 1a799f04e6af870c03aa02f2c3a9db6e0bd55bca (patch) | |
| tree | 98f563b1edfb8c0b976260150600932bf809439a /Library/Homebrew/formula_installer.rb | |
| parent | f172d3a6eb3c78be87dc3f58786a7db78cd12fca (diff) | |
| download | brew-1a799f04e6af870c03aa02f2c3a9db6e0bd55bca.tar.bz2 | |
Remove unused variables
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 8dbd318a9..2395efc2f 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -219,7 +219,7 @@ class FormulaInstaller if f.keg_only? begin Keg.new(f.prefix).optlink - rescue Exception => e + rescue Exception onoe "Failed to create: #{f.opt_prefix}" puts "Things that depend on #{f} will probably not build." end @@ -302,7 +302,7 @@ class FormulaInstaller Tab.create(f, build_argv).write # INSTALL_RECEIPT.json - rescue Exception => e + rescue Exception ignore_interrupts do # any exceptions must leave us with nothing installed f.prefix.rmtree if f.prefix.directory? |
