[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [patch] error out when installing nonexistant egg
From: |
Christian Kellermann |
Subject: |
[Chicken-hackers] [patch] error out when installing nonexistant egg |
Date: |
Thu, 22 Sep 2011 23:47:41 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
attached is a small patch for issue 683. With it chicken-install
errors out on non existant extensions and returns an error code of
1.
I am not so sure whether this is the best solution, since
retrieve-extension should return #f if there is no such file, but
I guess this is due to a change in henrietta, which does not signal
an error but returns 200 OK with no chunks.
So maybe this is the best solution for now. Bails out if there is
no directory or the retrieved egg directory is empty.
Thanks to Mario for reporting the issue.
Kind regards,
Christian
--
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
-- Lao Tse.
bug683.patch
Description: Text document
- [Chicken-hackers] [patch] error out when installing nonexistant egg,
Christian Kellermann <=