Skip to content

Commit 2795459

Browse files
committed
prefix the optimize_core_build config entry with "my_"
This hopefully makes it clearer it is not a standard perl entry.
1 parent 748e485 commit 2795459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Perl/Dist/Strawberry/Step/InstallPerlCore.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ sub run {
277277
my $data = <$fh>;
278278
$fh->close;
279279
# now update the file
280-
$data =~ s/^optimize=(.+)$/optimize_core_build=$1\noptimize='$optimize_cpan'/m;
280+
$data =~ s/^optimize=(.+)$/my_optimize_core_build=$1\noptimize='$optimize_cpan'/m;
281281
my $ro_flag = $self->_unset_ro($config_heavy);
282282
open my $ofh, '>', $config_heavy or die "Unable to open $config_heavy for writing, $?";
283283
print {$ofh} $data;

0 commit comments

Comments
 (0)