aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-09-29 13:57:28 +0100
committerGitHub2017-09-29 13:57:28 +0100
commit978bd61f5883414d4e9813bd2456a984d0ecb0c7 (patch)
treed121f0961fef61a81defc9f89257a4d511f3245f /Library
parent22e329fb02329f9d270a1a0b82fb6227dcd91d26 (diff)
parentb8d8049f70277efe9a8cbc496df11d48f62b86a7 (diff)
downloadbrew-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.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|