asdf-install patch to improve error message when GPG is not found
Gary King <[email protected]> Wed, 30 Nov 2005 15:19:57 -0500
| Newsgroups | gmane.lisp.web |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure who is maintaining asdf-install but the following patch improves the error message when GPG isn't installed or isn't found when verify-gpg-signature/string calls make-stream-from-gpg-command to do its stuff. If anyone knows of a better place to post this, please let me know. It just adds a condition and a check that the putative call to GPG returned something that looks like it came from GPG <smile>. 196a197,202 > (define-condition shell-error (error) > () > (:report (lambda (c s) > (declare (ignore c)) > (format s "Call to GPG failed. Perhaps GPG is not installed or not in the path.")))) > 401a408,412 > > ;; test that command returned something > (when (null tags) > (error 'shell-error)) > -- Gary Warren King metabang.com http://www.metabang.com/ _______________________________________________ lispweb mailing list [email protected] http://www.red-bean.com/mailman/listinfo/lispweb
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed