Skip to content

Commit

Permalink
keg_relocate: enable Java relocation for bottles
Browse files Browse the repository at this point in the history
This is a continuation of #12334.
  • Loading branch information
carlocab committed Oct 29, 2021
1 parent dae9a34 commit aa95c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/keg_relocate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def prepare_relocation_to_placeholders
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
Expand Down

0 comments on commit aa95c17

Please sign in to comment.