fix default source catalog for make

This commit is contained in:
Matthew Flatt 2016-01-08 09:53:44 -07:00
parent b078cbc0ef
commit 7bae604711
2 changed files with 4 additions and 3 deletions

View File

@ -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 =

View File

@ -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