This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618ac2f
)
ensure 'make' updates all necessary files
author
Jesse Luehrs
<doy@tozt.net>
Mon, 18 Jun 2012 21:17:33 +0000
(16:17 -0500)
committer
Jesse Luehrs
<doy@tozt.net>
Mon, 18 Jun 2012 22:10:26 +0000
(17:10 -0500)
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/
Porting/sync-with-cpan
patch
|
blob
|
blame
|
history
diff --git
a/Porting/sync-with-cpan
b/Porting/sync-with-cpan
index
2c66f85
..
f6f3aeb
100755
(executable)
--- 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;