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

commit 4a2bc7bdaaf914adb18418fc35f4aa7b6285ae8b
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sun Dec 20 04:12:58 2009 +0100

repoman: set startdir to pwd before sourcing the FB in changelog()

this can help in case we already sourced fwmakepkg earlier before
changing the directory to the package's one in 'repoman server
changelog' and because of this the Finclude commands would be just
ignored

diff --git a/repoman b/repoman
index f1d9fcb..91dda29 100755
--- a/repoman
+++ b/repoman
@@ -196,6 +196,7 @@ server()
rm -f .git/lock
return
fi
+               startdir=`pwd`
if ! source FrugalBuild; then
echo "Failed to parse the FrugalBuid!"
rm -f $(git rev-parse --show-cdup)/.git/lock
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to