Fixing upload with passwords.

This commit is contained in:
Alex Shinn 2015-04-26 10:42:38 +09:00
parent 24a880ad28
commit 93406a98ee

View file

@ -844,7 +844,7 @@
(sha-256 (string-append email raw-password))))))
(define (upload-package cfg spec package . o)
(let ((password `(pw (value ,(get-password cfg))))
(let ((password `(pw (value . ,(get-password cfg package))))
(pkg (if (string? package)
`(u (file . ,package))
`(u (file . ,(if (pair? o) (car o) "package.tgz"))