Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit e087e17

Browse files
committed
[Fix #4] Add proxy option to Makefile
1 parent c3438f1 commit e087e17

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,15 @@ $(QLDIR)/setup.lisp:
2222
@echo "Install Quicklisp"
2323
mkdir -p $(QLDIR)
2424
curl -o $(QLFILE) $(QLURL)
25+
ifdef PROXY
26+
$(LISP) $(LISPOPTS) --load $(QLFILE) \
27+
--eval '(quicklisp-quickstart:install :path "$(QLDIR)" :proxy "$(PROXY)")' \
28+
--quit
29+
else
2530
$(LISP) $(LISPOPTS) --load $(QLFILE) \
2631
--eval '(quicklisp-quickstart:install :path "$(QLDIR)")' \
2732
--quit
33+
endif
2834
rm $(QLFILE)
2935

3036
quicklisp: $(QLDIR)/setup.lisp ;

0 commit comments

Comments
 (0)