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

commit 1bf80b92e3a0dfb144b2088744e95e4575e73f52
Author: Miklos Vajna <[email protected]>
Date:   Tue Sep 11 07:41:31 2012 +0200

syncpkgcd: ignore dirs outside 'source' when searching for FBs

diff --git a/syncpkgd/syncpkgcd.py b/syncpkgd/syncpkgcd.py
index c947386..ba7d559 100644
--- a/syncpkgd/syncpkgcd.py
+++ b/syncpkgd/syncpkgcd.py
@@ -270,7 +270,7 @@ class Syncpkgcd:
return os.system("export HOME=%s; timeout -s KILL 86400 %s >> %s 2>&1" % 
(self.home, cmd, self.logfile))

def go(self, pkgname):
-               for root, dirs, files in os.walk("."):
+               for root, dirs, files in os.walk("source"):
for dir in dirs:
if "_darcs" in root:
continue
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to