From a2a3efe7cfa0c88c91343f698557ba850af3369e Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Wed, 9 Oct 1996 22:32:22 -0400 Subject: 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). --- installperl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installperl b/installperl index 183c3edbc4..8f8f7e79ef 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; } -- cgit v1.2.1