This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ensure 'make' updates all necessary files
[perl5.git] / Porting / sync-with-cpan
index 2c66f85..f6f3aeb 100755 (executable)
@@ -228,6 +228,8 @@ say "Unpacking $new_file";
 
 system tar => 'xfz', $new_file;
 (my $new_dir = $new_file) =~ s/\.tar\.gz//;
+# ensure 'make' will update all files
+system('find', $new_dir, '-exec', 'touch', '{}', ';');
 
 say "Renaming directories";
 rename $pkg_dir => $old_dir;