From 224c7f44e2828a4a8587cf47207b2e3513a0d52b Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Sun, 27 Dec 2020 13:12:07 -0500 Subject: [PATCH] cli/args: --HEAD implies building from source --- Library/Homebrew/cli/args.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cli/args.rb b/Library/Homebrew/cli/args.rb index 1767309572..20c7010d3f 100644 --- a/Library/Homebrew/cli/args.rb +++ b/Library/Homebrew/cli/args.rb @@ -69,7 +69,7 @@ module Homebrew end def build_from_source_formulae - if build_from_source? || build_bottle? + if build_from_source? || HEAD? || build_bottle? named.to_formulae_and_casks.select { |f| f.is_a?(Formula) }.map(&:full_name) else []