Check for libracket instead of any .so file

(cherry picked from commit 83d2e5c151)
This commit is contained in:
Eli Barzilay 2011-02-03 10:23:16 -05:00
parent bef9f8f0cb
commit 99866b29fd

View File

@ -383,7 +383,7 @@
(define (move/copy-distribution move?)
(define do-tree (move/copy-tree move?))
(current-directory rktdir)
(when (ormap (lambda (p) (regexp-match #rx"[.]so" p)) (ls "lib"))
(when (ormap (lambda (p) (regexp-match #rx"libracket.*[.]so" p)) (ls "lib"))
(error "Cannot handle distribution of shared-libraries (yet)"))
(with-handlers ([exn? (lambda (e) (undo-changes) (raise e))])
(define binfiles (ls "bin")) ; see below