diff options
| author | Mike McQuaid | 2017-09-29 13:57:28 +0100 |
|---|---|---|
| committer | GitHub | 2017-09-29 13:57:28 +0100 |
| commit | 978bd61f5883414d4e9813bd2456a984d0ecb0c7 (patch) | |
| tree | d121f0961fef61a81defc9f89257a4d511f3245f /Library | |
| parent | 22e329fb02329f9d270a1a0b82fb6227dcd91d26 (diff) | |
| parent | b8d8049f70277efe9a8cbc496df11d48f62b86a7 (diff) | |
| download | brew-978bd61f5883414d4e9813bd2456a984d0ecb0c7.tar.bz2 | |
Merge pull request #3230 from maxim-belkin/stop-early
install.rb: stop early when there are no formulae to be installed
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index c00087705..732e96b00 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -219,6 +219,7 @@ module Homebrew end end + return if formulae.empty? perform_preinstall_checks formulae.each do |f| |
