Skip to content

Commit

Permalink
Merge pull request #18977 from Homebrew/clt-message
Browse files Browse the repository at this point in the history
formula: update `pour_bottle?` CLT error message
  • Loading branch information
MikeMcQuaid authored Dec 23, 2024
2 parents 60f781f + 9abfafb commit 9f48c5d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4286,9 +4286,11 @@ def pour_bottle?(only_if: nil, &block)
lambda do |_|
on_macos do
T.bind(self, PourBottleCheck)
reason(+<<~EOS)
The bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
reason(<<~EOS)
The bottle needs the Xcode Command Line Tools to be installed at /Library/Developer/CommandLineTools.
Development tools provided by Xcode.app are not sufficient.
You can install the Xcode Command Line Tools, if desired, with:
xcode-select --install
EOS
satisfy { MacOS::CLT.installed? }
Expand Down

0 comments on commit 9f48c5d

Please sign in to comment.