Hi, On Fri, Feb 13, 2009 at 04:20:29PM +0100, Michael Tautschnig wrote: > There is no patch attached to the bug report, although you promised one :-)
Oops sorry ... one day I should add a check to mutt that checks for "patch", "attachment", etc. in the message body and which complains loudly if the E-mail does not contain any attachments ... ;-) Anyway, attached to this E-mail you will find the (trivial) patch. However, after submitting the bug back then, one situation came to my mind, where this might cause problems - I just cannot remember what it was. So, a close look at it by someone else would be very appreciated. It did work for me though. Cheers, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
From b25b3ce526cc4dad7417cd9d2bda7c03cc7d31df Mon Sep 17 00:00:00 2001 From: Sebastian Harl <[email protected]> Date: Fri, 21 Nov 2008 17:34:07 +0100 Subject: [PATCH] lib/get-config-dir-git: Do not clone into an existing directory. --- lib/get-config-dir-git | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/get-config-dir-git b/lib/get-config-dir-git index 673896c..10228c8 100644 --- a/lib/get-config-dir-git +++ b/lib/get-config-dir-git @@ -35,6 +35,8 @@ if [ -d "$FAI/.git" ] ; then task_error 701 else echo "Checking out from git" + # cloning into an existing directory is not allowed + if [ -d $FAI ]; then rmdir $FAI; fi git clone $giturl $FAI task_error 702 fi -- 1.6.2.rc0.61.g5cd12
signature.asc
Description: Digital signature

