Skip to content

Commit 07c1270

Browse files
committed
fix permissions not being preserved when doing final executable copy
1 parent 7a5ee8f commit 07c1270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Perl/Dist/APPerl.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use File::Path 2.07 qw(make_path remove_tree);
88
use Cwd qw(abs_path getcwd);
99
use Data::Dumper qw(Dumper);
1010
use File::Basename qw(basename dirname);
11-
use File::Copy qw(copy move);
11+
use File::Copy qw(copy move cp);
1212
use Env qw(@PATH);
1313
use FindBin qw();
1414
use Getopt::Long qw(GetOptionsFromArray);
@@ -1068,7 +1068,7 @@ sub Build {
10681068
chdir(START_WD) or die "Failed to restore cwd";
10691069
my @args = ("$UserProjectConfig->{apperl_output}/$CurAPPerlName/perl.com", $itemconfig->{dest});
10701070
print 'cp '.join(' ', @args)."\n";
1071-
copy(@args) or die "copy failed: $!";
1071+
cp(@args) or die "copy failed: $!";
10721072
}
10731073
}
10741074

0 commit comments

Comments
 (0)