mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 07:26:56 +00:00
global: set HOMEBREW_PATH if unset.
This commit is contained in:
@@ -53,6 +53,7 @@ HOMEBREW_PULL_OR_COMMIT_URL_REGEX = %r[https://github\.com/([\w-]+)/([\w-]+)?/(?
|
||||
|
||||
require "compat" unless ARGV.include?("--no-compat") || ENV["HOMEBREW_NO_COMPAT"]
|
||||
|
||||
ENV["HOMEBREW_PATH"] ||= ENV["PATH"]
|
||||
ORIGINAL_PATHS = ENV["HOMEBREW_PATH"].split(File::PATH_SEPARATOR).map do |p|
|
||||
begin
|
||||
Pathname.new(p).expand_path
|
||||
|
||||
Reference in New Issue
Block a user