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).
}
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;
}