another fix for CM+DrRacket interaction
(cherry picked from commit 264ec77abd
)
This commit is contained in:
parent
0b88d27f8f
commit
5d12f72a52
|
@ -180,7 +180,9 @@
|
|||
(try-delete-file tmp-path))))))
|
||||
|
||||
(define (get-source-sha1 p)
|
||||
(with-handlers ([exn:fail:filesystem? (lambda (exn) #f)])
|
||||
(with-handlers ([exn:fail:filesystem? (lambda (exn)
|
||||
(and (regexp-match? #rx#"[.]rkt$" (path->bytes p))
|
||||
(get-source-sha1 (path-replace-suffix p #".ss"))))])
|
||||
(call-with-input-file* p sha1)))
|
||||
|
||||
(define (get-dep-sha1s deps up-to-date read-src-syntax mode must-exist?)
|
||||
|
|
Loading…
Reference in New Issue
Block a user