diff options
| author | Maxim Belkin | 2017-09-28 14:16:21 -0500 | 
|---|---|---|
| committer | Maxim Belkin | 2017-09-28 14:17:42 -0500 | 
| commit | b8d8049f70277efe9a8cbc496df11d48f62b86a7 (patch) | |
| tree | f3a51005eb56824e5aa1bdb5166f463dfce4b244 /Library | |
| parent | cb139ca381cb7f00a4dfdc21482515f103aed417 (diff) | |
| download | brew-b8d8049f70277efe9a8cbc496df11d48f62b86a7.tar.bz2 | |
install.rb: stop early if 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|  | 
