From 158635647abedbe04c08b6788dcbb2337618efe7 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 21 Oct 2006 01:10:21 -0700 Subject: [PATCH] Make sure the timestamp is set from UTC --- scripts/gen-indices.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gen-indices.in b/scripts/gen-indices.in index bd1766a6..b701ea59 100755 --- a/scripts/gen-indices.in +++ b/scripts/gen-indices.in @@ -205,5 +205,6 @@ if (not $options{quick}) { for my $i (@indexes) { untie %{$slow_index{$i}}; move("$indexdest/by-$i$suffix.idx.new", "$indexdest/by-$i$suffix.idx"); - system('touch','-d',"1/1/1970 + ${start_time}secs","$indexdest/by-$i$suffix.idx"); + # We do this, because old versions of touch don't support -d '@epoch' + system('touch','-d',"1/1/1970 UTC + ${start_time}secs","$indexdest/by-$i$suffix.idx"); } -- 2.39.5