apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/build fixwin32mak.pl
Date Fri, 17 Aug 2001 01:38:51 GMT
wrowe       01/08/16 18:38:51

  Modified:    build    fixwin32mak.pl
  Log:
    Keep the date of the exported makefile consistent with the .dsp date.
  
  Revision  Changes    Path
  1.3       +9 -0      apr/build/fixwin32mak.pl
  
  Index: fixwin32mak.pl
  ===================================================================
  RCS file: /home/cvs/apr/build/fixwin32mak.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fixwin32mak.pl	2001/06/28 00:28:06	1.2
  +++ fixwin32mak.pl	2001/08/17 01:38:51	1.3
  @@ -48,5 +48,14 @@
   	else {
   	    unlink $tname;
   	}
  +        $dname = $oname;
  +        $dname =~ s/.mak$/.dsp/;
  +	@dstat = stat($dname);
  +        @ostat = stat($oname);    
  +        if ($ostat[9] != $dstat[9]) {
  +            @onames = ($oname);
  +            utime $dstat[9], $dstat[9], @onames;
  +	    print "Touched datestamp for " . $oname . " in " . $File::Find::dir . "\n"; 
  +        }
       }
   }
  
  
  

Mime
View raw message