Merge pull request #10473 from dtrodrigues/man-force

man: allow command to run on unsupported platforms when HOMEBREW_SILICON_DEVELOPER is set
This commit is contained in:
Dustin Rodrigues 2021-02-02 13:32:41 -05:00 committed by GitHub
commit d2430bcf50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,9 @@ module Homebrew
def man
# TODO: update description above if removing this.
raise UsageError, "not (yet) working on Apple Silicon!" if Hardware::CPU.arm?
if !ENV["HOMEBREW_SILICON_DEVELOPER"] && Hardware::CPU.arm?
raise UsageError, "not (yet) working on Apple Silicon!"
end
args = man_args.parse