Carlo Cabrera 2021-05-23 11:05:17 +01:00
parent a3e6a842ce
commit ada399c7db
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -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?