global.rb 355 Bytes
Newer Older
Mike McQuaid's avatar
Mike McQuaid committed
1
2
3
4
# typed: false
# frozen_string_literal: true

module Homebrew
5
6
7
  if Hardware::CPU.arm?
    DEFAULT_PREFIX ||= HOMEBREW_MACOS_ARM_DEFAULT_PREFIX.freeze
    DEFAULT_REPOSITORY ||= HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY.freeze
Mike McQuaid's avatar
Mike McQuaid committed
8
  else
9
10
11
    DEFAULT_PREFIX ||= HOMEBREW_DEFAULT_PREFIX.freeze
    DEFAULT_REPOSITORY ||= HOMEBREW_DEFAULT_REPOSITORY.freeze
  end
Mike McQuaid's avatar
Mike McQuaid committed
12
end