Merge pull request #11605 from dawidd6/simulate-force-linux-prefix
default_prefix: set macOS default prefix on Linux if simulating it
This commit is contained in:
commit
aa14e48f4e
@ -4,7 +4,7 @@
|
||||
module Homebrew
|
||||
DEFAULT_PREFIX, DEFAULT_REPOSITORY = if OS.mac? && Hardware::CPU.arm?
|
||||
[HOMEBREW_MACOS_ARM_DEFAULT_PREFIX, HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY]
|
||||
elsif OS.linux? && !EnvConfig.force_homebrew_on_linux?
|
||||
elsif OS.linux? && !EnvConfig.simulate_macos_on_linux?
|
||||
[HOMEBREW_LINUX_DEFAULT_PREFIX, HOMEBREW_LINUX_DEFAULT_REPOSITORY]
|
||||
else
|
||||
[HOMEBREW_DEFAULT_PREFIX, HOMEBREW_DEFAULT_REPOSITORY]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user