]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/gen-indices.in
* Add Debbugs::SOAP::Status
[debbugs.git] / scripts / gen-indices.in
index cf7f93bec41c1e0a9048a061ca41dec92031dbc9..d60c8a9a7edf09d8750d3b2d8f6c696b8c8de10c 100755 (executable)
@@ -62,6 +62,9 @@ Display this manual.
 
 =cut
 
+# Use portable Storable images
+$MLDBM::DumpMeth=q(portable);
+
 
 my %options = (debug           => 0,
               help            => 0,
@@ -202,5 +205,7 @@ 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");
 }
+