Skip to content

Commit

Permalink
tweak Makefile.PL error check
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnlaffan committed Mar 19, 2023
1 parent 360002b commit 0314827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if ($^O ne 'MSWin32') {
# Make a copy of the scipt without the .pl extension.
# Clunky as it is not considered by "make clean".
use File::Copy;
my $success = eval {copy 'bin/pp_autolink.pl', 'bin/pp_autolink'; 1};
warn $@ if $@;
my $success = eval {copy 'bin/pp_autolink.pl', 'bin/pp_autolink'};
warn $! if $!;
if ($success) {
@exe_copy = ('bin/pp_autolink');
}
Expand Down

0 comments on commit 0314827

Please sign in to comment.