aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Belkin2017-09-28 14:16:21 -0500
committerMaxim Belkin2017-09-28 14:17:42 -0500
commitb8d8049f70277efe9a8cbc496df11d48f62b86a7 (patch)
treef3a51005eb56824e5aa1bdb5166f463dfce4b244
parentcb139ca381cb7f00a4dfdc21482515f103aed417 (diff)
downloadbrew-b8d8049f70277efe9a8cbc496df11d48f62b86a7.tar.bz2
install.rb: stop early if there are no formulae to be installed
-rw-r--r--Library/Homebrew/cmd/install.rb1
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|