raco pkg: fix strip of package without "info.rkt"

This commit is contained in:
Matthew Flatt 2014-02-07 21:35:46 -07:00
parent 0ad3a6a7f6
commit 8a14fbd5b1

View File

@ -143,7 +143,7 @@
(define level
(let ([i (get-info/full dir #:namespace drop-keep-ns)])
(cond
[(or (not get-info)
[(or (not i)
(not (eq? 'multi (i 'collection (lambda () #t)))))
'collection] ; single-collection package
[else 'package])))