summaryrefslogtreecommitdiff
path: root/Porting/sync-with-cpan
diff options
context:
space:
mode:
Diffstat (limited to 'Porting/sync-with-cpan')
-rwxr-xr-xPorting/sync-with-cpan2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan
index 93d1a7ec75..2829c8edfb 100755
--- a/Porting/sync-with-cpan
+++ b/Porting/sync-with-cpan
@@ -188,7 +188,7 @@ chomp @exec;
# No need to change the +x bit on files that will be deleted.
#
if (@exec && @delete) {
- my %delete = map {"$pkg_dir/$_" => 1} @delete;
+ my %delete = map {+"$pkg_dir/$_" => 1} @delete;
@exec = grep {!$delete {$_}} @exec;
}