diff --git a/batch-driver.scm b/batch-driver.scm
index f994ae6..9b9ef4f 100644
a
|
b
|
|
548 | 548 | (collect-options 'types)) |
549 | 549 | (for-each |
550 | 550 | (lambda (id) |
551 | | (load-type-database (make-pathname #f (symbol->string id) "types"))) |
| 551 | (let ((types-filename (make-pathname #f (symbol->string id) "types"))) |
| 552 | (or |
| 553 | (load-type-database types-filename) |
| 554 | (and-let* ((tfile (##sys#resolve-include-filename |
| 555 | types-filename |
| 556 | #f #t)) |
| 557 | ((file-exists? tfile))) |
| 558 | (load-type-database types-filename |
| 559 | (pathname-directory tfile)))))) |
552 | 560 | mreq) |
553 | 561 | (begin-time) |
554 | 562 | (set! first-analysis #f) |