projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: Configure test for selectbits busted
[p5sagit/p5-mst-13.2.git]
/
lib
/
ExtUtils
/
Command.pm
diff --git
a/lib/ExtUtils/Command.pm
b/lib/ExtUtils/Command.pm
index
d37d0f3
..
2f5f1e1
100644
(file)
--- a/
lib/ExtUtils/Command.pm
+++ b/
lib/ExtUtils/Command.pm
@@
-107,11
+107,13
@@
Makes files exist, with current timestamp
sub touch
{
expand_wildcards();
+ my $t = time;
while (@ARGV)
{
my $file = shift(@ARGV);
open(FILE,">>$file") || die "Cannot write $file:$!";
close(FILE);
+ utime($t,$t,$file);
}
}
@@
-187,6
+189,7
@@
sub test_f
exit !-f shift(@ARGV);
}
+
1;
__END__