From e3ae0103af8b152d37d19a36f6ec15abb3887280 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 28 Jul 2016 09:19:11 -0600 Subject: [PATCH] fix a backward test on `use-compiled-file-check` The backward test causes docs to be rebuilt too much. --- pkgs/racket-index/setup/scribble.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/racket-index/setup/scribble.rkt b/pkgs/racket-index/setup/scribble.rkt index bd6361bf49..6ac1713b51 100644 --- a/pkgs/racket-index/setup/scribble.rkt +++ b/pkgs/racket-index/setup/scribble.rkt @@ -1049,8 +1049,8 @@ (and t (let ([t2 (and (file-exists? db-file) (if (not (eq? 'modify-seconds (use-compiled-file-check))) - (doc-db-get-provides-timestamp db-file info-out-file) - 0))]) + 0 + (doc-db-get-provides-timestamp db-file info-out-file)))]) (and t2 (min t t2)))))] [info-in-exists? (file-exists? info-in-file)] [vers (send renderer get-serialize-version)]