This commit is contained in:
ailin-nemui 2025-07-13 17:46:43 +00:00 committed by GitHub
commit ddb8d1bdb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ my $verb = $AM_DEFAULT_VERBOSITY;
} }
sub pm_to_blib { sub pm_to_blib {
my $ret = shift->SUPER::pm_to_blib(@_); my $ret = shift->SUPER::pm_to_blib(@_);
$ret =~ s{^(\t(?:- ?)?)(?:\$\(NOECHO\) ?)?(.*-e ['"]pm_to_blib(.*\\\n)*.*)$}{$1\$(PL_AM_V_BLIB)$2\$(PL_AM_V_BLIB_Hide)}mg; $ret =~ s{^(\t(?:- ?)?)(?:\$\(NOECHO\) ?)?((?:\\\r?\n|.)*-e ['"]pm_to_blib(.*\\\n)*.*)$}{$1\$(PL_AM_V_BLIB)$2\$(PL_AM_V_BLIB_Hide)}mg;
$ret $ret
} }
sub post_constants { sub post_constants {