Skip to content

Commit

Permalink
Merge pull request #16407 from dduugg/default-prefixes
Browse files Browse the repository at this point in the history
Remove redirection for default prefixes
  • Loading branch information
dduugg committed Feb 19, 2024
2 parents aa92559 + 3546e47 commit ab62a71
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
7 changes: 0 additions & 7 deletions Library/Homebrew/default_prefix.rb

This file was deleted.

3 changes: 2 additions & 1 deletion Library/Homebrew/global.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@
require "macos_version"
require "os"
require "messages"
require "default_prefix"

module Homebrew
extend FileUtils

DEFAULT_PREFIX = T.let(ENV.fetch("HOMEBREW_DEFAULT_PREFIX").freeze, String)
DEFAULT_REPOSITORY = T.let(ENV.fetch("HOMEBREW_DEFAULT_REPOSITORY").freeze, String)
DEFAULT_CELLAR = "#{DEFAULT_PREFIX}/Cellar".freeze
DEFAULT_MACOS_CELLAR = "#{HOMEBREW_DEFAULT_PREFIX}/Cellar".freeze
DEFAULT_MACOS_ARM_CELLAR = "#{HOMEBREW_MACOS_ARM_DEFAULT_PREFIX}/Cellar".freeze
Expand Down
8 changes: 0 additions & 8 deletions Library/Homebrew/test/support/lib/default_prefix.rb

This file was deleted.

0 comments on commit ab62a71

Please sign in to comment.