mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
keg_relocate: enable Java relocation for bottles
This is a continuation of #12334.
This commit is contained in:
parent
dae9a34a85
commit
aa95c17c8e
@ -98,8 +98,8 @@ class Keg
|
||||
relocation.add_replacement_pair(:perl,
|
||||
%r{\A#!(?:/usr/bin/perl\d\.\d+|#{HOMEBREW_PREFIX}/opt/perl/bin/perl)( |$)}o,
|
||||
"#!#{PERL_PLACEHOLDER}\\1")
|
||||
# TODO: Enable relocation upon bottling when relocation upon pouring is in a brew release tag.
|
||||
# relocation.add_replacement_pair(:java, JAVA_REGEX, JAVA_PLACEHOLDER)
|
||||
relocation.add_replacement_pair(:java, JAVA_REGEX, JAVA_PLACEHOLDER)
|
||||
|
||||
relocation
|
||||
end
|
||||
alias generic_prepare_relocation_to_placeholders prepare_relocation_to_placeholders
|
||||
|
Loading…
x
Reference in New Issue
Block a user