summaryrefslogtreecommitdiff
path: root/build/fixwin32mak.pl
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2004-04-13 08:52:52 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2004-04-13 08:52:52 +0000
commit5f01b90d1f844aec445192ee203b668b6ec0d070 (patch)
treedd27816d6c475f1eb48fce8061d71e1ad80166d2 /build/fixwin32mak.pl
parent4ef73ac2393cf80bdb26c45a993af0859173e3cc (diff)
downloadlibapr-5f01b90d1f844aec445192ee203b668b6ec0d070.tar.gz
Ready to blame bad datestamps on a bad tarball... we can only
touch mak/dep file dates that correspond to a dsp file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/fixwin32mak.pl')
-rw-r--r--build/fixwin32mak.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/fixwin32mak.pl b/build/fixwin32mak.pl
index fa2d1b4eb..9ee8918e9 100644
--- a/build/fixwin32mak.pl
+++ b/build/fixwin32mak.pl
@@ -60,14 +60,14 @@ sub fixcwd {
$dname =~ s/.mak$/.dsp/;
@dstat = stat($dname);
@ostat = stat($oname);
- if ($ostat[9] != $dstat[9]) {
+ if ($ostat[9] && $dstat[9] && ($ostat[9] != $dstat[9])) {
@onames = ($oname);
utime $dstat[9], $dstat[9], @onames;
print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";
}
$oname =~ s/.mak$/.dep/;
@ostat = stat($oname);
- if ($ostat[9] != $dstat[9]) {
+ if ($ostat[9] && $dstat[9] && ($ostat[9] != $dstat[9])) {
@onames = ($oname);
utime $dstat[9], $dstat[9], @onames;
print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n";