mirror of
https://github.com/gosticks/brew.git
synced 2026-12-06 12:31:48 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user