Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=6ee73f1c93232b81dbf21ecebd52b1e532ddf89d

commit 6ee73f1c93232b81dbf21ecebd52b1e532ddf89d
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sun Dec 20 04:03:12 2009 +0100

repoman: fix lockfile deletion when parsing the FB fails

diff --git a/repoman b/repoman
index f8fd436..f1d9fcb 100755
--- a/repoman
+++ b/repoman
@@ -198,7 +198,7 @@ server()
fi
if ! source FrugalBuild; then
echo "Failed to parse the FrugalBuid!"
-                       rm -f .git/lock
+                       rm -f $(git rev-parse --show-cdup)/.git/lock
return
fi
cd - >/dev/null
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to