fix default source catalog for make
This commit is contained in:
parent
b078cbc0ef
commit
7bae604711
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ WIN32_RUN_RACKET = $(WIN32_PLAIN_RACKET) -G racket/etc -X racket/collects
|
|||
RUN_RACO = $(RUN_RACKET) -N raco -l- raco
|
||||
WIN32_RUN_RACO = $(WIN32_RUN_RACKET) -N raco -l- raco
|
||||
|
||||
DEFAULT_SRC_CATALOG = http://pkgs.racket-lang.org
|
||||
DEFAULT_SRC_CATALOG = https://pkgs.racket-lang.org
|
||||
|
||||
CPUS =
|
||||
|
||||
|
|
|
@ -34,8 +34,9 @@
|
|||
((length l) . >= . 1)
|
||||
(equal? (car l) catalog-relative-path-str)))
|
||||
(define has-src-catalog?
|
||||
(member (if src-catalog-is-default? #f src-catalog)
|
||||
l))
|
||||
(or (and src-catalog-is-default?
|
||||
(member #f l))
|
||||
(member src-catalog l)))
|
||||
(unless (and starts-as-expected?
|
||||
has-src-catalog?)
|
||||
(error 'pkgs-catalog
|
||||
|
|
Loading…
Reference in New Issue
Block a user