summaryrefslogtreecommitdiff
path: root/bin/oowintool
diff options
context:
space:
mode:
Diffstat (limited to 'bin/oowintool')
-rwxr-xr-xbin/oowintool3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/oowintool b/bin/oowintool
index d645932dc..0e9ee5266 100755
--- a/bin/oowintool
+++ b/bin/oowintool
@@ -225,6 +225,9 @@ sub copy_dll($$$)
copy ("$src/$fname", $dest) || die "copy failed: $!";
chmod (0755, "$dest/$fname") || die "failed to set dll executable: $!";
+ # equivalent of cp -a or touch -r, make sure times are preserved
+ @fstat = stat("$src/$fname");
+ utime($fstat[8], $fstat[9], "$dest/$fname");
}
sub msvc_find_version($)