[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix #1109 by removing directory when an error
[Chicken-hackers] [PATCH] Fix #1109 by removing directory when an error occurs during chicken-install -r
Sun, 3 Aug 2014 21:26:03 +0200
Here's a pretty simple patch for #1109. This simply catches any
exceptions that occur during retrieval of http locations (it already
handles svn and local files differently: there it checks first whether
the source exists before creating the target dir), and then removes
the directory if it didn't exist initially.
As is our rule, I removed the square parens so the patch is a little
bigger than it strictly speaking has to be. I also rewrote the let and
let-values stuff to a simpler receive/let* combination.
Description: Text document
- [Chicken-hackers] [PATCH] Fix #1109 by removing directory when an error occurs during chicken-install -r,
Peter Bex <=