You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/08/17 03:38:51 UTC

cvs commit: apr/build fixwin32mak.pl

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"; 
  +        }
       }
   }