diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-06-18 16:17:33 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-06-18 17:10:26 -0500 |
commit | 3f7808ebe053a9274d087cc79a5e84105fb8428d (patch) | |
tree | bc8eac8908acae72e53c7ac2e9d53827137a6a16 /Porting/sync-with-cpan | |
parent | 618ac2f65631f2380ef4198f25f0d4d145f86398 (diff) | |
download | perl-3f7808ebe053a9274d087cc79a5e84105fb8428d.tar.gz |
ensure 'make' updates all necessary files
moving files around doesn't change the mtime, and tarballs store the
mtime to use when untarring, so it's possible to end up with an updated
file with an mtime before the corresponding file in lib/
Diffstat (limited to 'Porting/sync-with-cpan')
-rwxr-xr-x | Porting/sync-with-cpan | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Porting/sync-with-cpan b/Porting/sync-with-cpan index 2c66f8522f..f6f3aeb34d 100755 --- a/Porting/sync-with-cpan +++ b/Porting/sync-with-cpan @@ -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; |