fix info-domain updating to recognize "info.ss" in addition to "info.rkt"

which solves the problem of forgetting a Planet-based tool when a
 new Planet-based tool is installed (if the old tool used "info.ss"
 instead of "info.rkt")
This commit is contained in:
Matthew Flatt 2010-07-09 10:23:02 -06:00
parent 20bb4a8dfa
commit cdf67d884f

View File

@ -723,12 +723,11 @@
(and (if (cc-root-dir cc) (and (if (cc-root-dir cc)
(relative-path? p) (relative-path? p)
(complete-path? p)) (complete-path? p))
(file-exists? (let ([dir (if (cc-root-dir cc)
(build-path (build-path (cc-root-dir cc) p)
(if (cc-root-dir cc) p)])
(build-path (cc-root-dir cc) p) (or (file-exists? (build-path dir "info.rkt"))
p) (file-exists? (build-path dir "info.ss"))))))))
"info.rkt"))))))
a) a)
(list (? symbol? b) ...) (list (? symbol? b) ...)
c c