Skip to content
Snippets Groups Projects
Unverified Commit 76cfe88b authored by Bo Anderson's avatar Bo Anderson Committed by GitHub
Browse files

Merge pull request #11431 from carlocab/perl-shebang

Fix perl shebang rewriting for `perl` formula
parents a3e6a842 ada399c7
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,7 @@ class Keg
relocation = generic_prepare_relocation_to_locations
brewed_perl = runtime_dependencies&.any? { |dep| dep["full_name"] == "perl" && dep["declared_directly"] }
perl_path = if brewed_perl
perl_path = if brewed_perl || name == "perl"
"#{HOMEBREW_PREFIX}/opt/perl/bin/perl"
else
perl_version = if tab["built_on"].present?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment