wrap dynamic check for framework collection

svn: r1082
This commit is contained in:
Matthew Flatt 2005-10-14 13:29:51 +00:00
parent fffe9c8bfc
commit d34597549e

View File

@ -2285,11 +2285,13 @@
(or (with-handlers ([exn:fail:filesystem?
(λ (x) #f)])
(directory-exists? (collection-path "repos-time-stamp")))
(with-handlers ([exn:fail:filesystem?
(λ (x) #f)])
(let ([fw (collection-path "framework")])
(with-handlers ([exn:fail:filesystem?
(λ (x) #f)])
(or (directory-exists? (build-path fw ".svn"))
(directory-exists? (build-path fw "CVS")))))))
(directory-exists? (build-path fw "CVS"))))))))
(define bday-click-canvas%
(class canvas%