fix build for a fresh checkout
This commit is contained in:
parent
d593f5420b
commit
d05c00de3e
|
@ -71,10 +71,11 @@
|
||||||
[(directory-exists? src-f)
|
[(directory-exists? src-f)
|
||||||
(loop src-f)])))))
|
(loop src-f)])))))
|
||||||
|
|
||||||
(for ([l (directory-list (build-path catalog-path "pkg"))])
|
(when (directory-exists? (build-path catalog-path "pkg"))
|
||||||
(unless (hash-ref found (path->string l) #f)
|
(for ([l (directory-list (build-path catalog-path "pkg"))])
|
||||||
(printf " Uncataloging package ~a\n" (path->string l))
|
(unless (hash-ref found (path->string l) #f)
|
||||||
(delete-directory/files (build-path catalog-path "pkg" l))))
|
(printf " Uncataloging package ~a\n" (path->string l))
|
||||||
|
(delete-directory/files (build-path catalog-path "pkg" l)))))
|
||||||
|
|
||||||
(define metadata-ns (make-base-namespace))
|
(define metadata-ns (make-base-namespace))
|
||||||
(define (get-pkg-info pkg-dir)
|
(define (get-pkg-info pkg-dir)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user