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
|
RUN_RACO = $(RUN_RACKET) -N raco -l- raco
|
||||||
WIN32_RUN_RACO = $(WIN32_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 =
|
CPUS =
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,9 @@
|
||||||
((length l) . >= . 1)
|
((length l) . >= . 1)
|
||||||
(equal? (car l) catalog-relative-path-str)))
|
(equal? (car l) catalog-relative-path-str)))
|
||||||
(define has-src-catalog?
|
(define has-src-catalog?
|
||||||
(member (if src-catalog-is-default? #f src-catalog)
|
(or (and src-catalog-is-default?
|
||||||
l))
|
(member #f l))
|
||||||
|
(member src-catalog l)))
|
||||||
(unless (and starts-as-expected?
|
(unless (and starts-as-expected?
|
||||||
has-src-catalog?)
|
has-src-catalog?)
|
||||||
(error 'pkgs-catalog
|
(error 'pkgs-catalog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user