From: Don Armstrong Date: Sat, 21 Oct 2006 08:10:21 +0000 (-0700) Subject: Make sure the timestamp is set from UTC X-Git-Tag: release/2.6.0~589^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=158635647abedbe04c08b6788dcbb2337618efe7;p=debbugs.git Make sure the timestamp is set from UTC --- 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"); }