projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.19.35: Fix PARSE-, NATIVE-NAMESTRING for logical pathnames.
[sbcl.git]
/
contrib
/
asdf-install
/
installer.lisp
diff --git
a/contrib/asdf-install/installer.lisp
b/contrib/asdf-install/installer.lisp
index
0af1455
..
b55532a
100644
(file)
--- a/
contrib/asdf-install/installer.lisp
+++ b/
contrib/asdf-install/installer.lisp
@@
-2,8
+2,9
@@
(defvar *proxy* (posix-getenv "http_proxy"))
(defvar *cclan-mirror*
(defvar *proxy* (posix-getenv "http_proxy"))
(defvar *cclan-mirror*
- (or (posix-getenv "CCLAN_MIRROR")
- "http://ftp.linux.org.uk/pub/lisp/cclan/"))
+ (let ((mirror (posix-getenv "CCLAN_MIRROR")))
+ (or (and (not (string= mirror "")) mirror)
+ "http://ftp.linux.org.uk/pub/lisp/cclan/")))
(defun directorify (name)
;; input name may or may not have a training #\/, but we know we
(defun directorify (name)
;; input name may or may not have a training #\/, but we know we
@@
-137,7
+138,7
@@
(defun copy-stream (in out)
(defun copy-stream (in out)
- (let ((buf (make-array 8192 :element-type (stream-element-type in))))
+ (let ((buf (make-array 8192 :element-type (stream-element-type out))))
(loop for pos = (read-sequence buf in)
until (zerop pos)
do (write-sequence buf out :end pos))))
(loop for pos = (read-sequence buf in)
until (zerop pos)
do (write-sequence buf out :end pos))))