check invoke download function.

This commit is contained in:
SANO Masatoshi 2017-04-15 13:16:43 +02:00
parent e5c9c57d7e
commit 5273f14f0b
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,8 @@
(download
(format nil "~Amsys2/Base/~A/msys2-base-~A-~A.tar.xz"
(msys2-uri)
*msys2-arch* *msys2-arch* (getf argv :version)) path))
*msys2-arch* *msys2-arch* (getf argv :version))
path))
(format t " done.~%")
(expand path
(ensure-directories-exist

View file

@ -8,7 +8,7 @@
(format *error-output* "Checking version to install...~%")
(unless (and (probe-file file)
(< (get-universal-time) (+ (* 60 60) (file-write-date file))))
(download (format nil "~Arelease/" (cmu-bin-uri)) file))
(download (format nil "~Arelease/" (cmu-bin-uri)) file))
(loop for link in (plump:get-elements-by-tag-name (plump:parse file) "a")
for href = (plump:get-attribute link "href")
for len = (length href)

View file

@ -54,8 +54,7 @@
(format *error-output* "invalid version ~A" name)
(roswell:quit 1))))
(setq dist (ql-dist::make-dist-from-file dist-file))
(download (ql-dist::release-index-url dist)
release-file)
(download (ql-dist::release-index-url dist) release-file)
(with-open-file (in release-file)
(loop for line = (read-line in nil nil)
while line