From: Ilya Zakharevich Date: Thu, 10 Oct 1996 02:32:22 +0000 (-0400) Subject: perl 5.003_07: installperl X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2a3efe7cfa0c88c91343f698557ba850af3369e;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_07: installperl Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT) From: Ilya Zakharevich Restore timestamps under OS/2 (needed for binary install). --- diff --git a/installperl b/installperl index 183c3ed..8f8f7e7 100755 --- a/installperl +++ b/installperl @@ -395,7 +395,7 @@ sub cp_if_diff { } cmd("cp $from $to"); # Restore timestamps if it's a .a library. - if ($to =~ /\.a$/) { + if ($to =~ /\.a$/ or $^O eq 'os2') { # For binary install ($atime, $mtime) = (stat $from)[8,9]; utime $atime, $mtime, $to; }