[Lispweb] asdf-install patch to improve error message when GPG is not found
Gary King
gwking at metabang.com
Wed Nov 30 14:19:57 CST 2005
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2367 bytes
Desc: not available
Url : http://www.red-bean.com/pipermail/lispweb/attachments/20051130/8d1e5eff/smime.bin
More information about the lispweb
mailing list