summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.ohio-state.edu>1996-10-09 22:32:22 -0400
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-10-09 22:32:22 -0400
commita2a3efe7cfa0c88c91343f698557ba850af3369e (patch)
tree0cd5298c6908e1265e7c6073497efceb329608dd
parent8e63d77b6b675884254e01832cbfec022456e4b1 (diff)
downloadperl-a2a3efe7cfa0c88c91343f698557ba850af3369e.tar.gz
perl 5.003_07: installperl
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT) From: Ilya Zakharevich <ilya@math.ohio-state.edu> Restore timestamps under OS/2 (needed for binary install).
-rwxr-xr-xinstallperl2
1 files changed, 1 insertions, 1 deletions
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;
}