From b8d8049f70277efe9a8cbc496df11d48f62b86a7 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Thu, 28 Sep 2017 14:16:21 -0500 Subject: [PATCH] install.rb: stop early if there are no formulae to be installed --- Library/Homebrew/cmd/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index c000877058..732e96b004 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|