Add path to utf-8 checks so that repoman doesn't break outside of the package dir
authorJason Stubbs <jstubbs@gentoo.org>
Tue, 4 Oct 2005 16:01:56 +0000 (16:01 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Tue, 4 Oct 2005 16:01:56 +0000 (16:01 -0000)
svn path=/main/branches/2.0/; revision=2089

bin/repoman

index 4b813a3a121bf0f11aca68fbd832d2b3f48c7b59..17f10a63ba2ef7dc125aa0260a5e2257711ae178 100755 (executable)
@@ -686,7 +686,7 @@ for x in scanlist:
                        continue
                try:
                        line = 1
-                       for l in codecs.open(y, "r", "utf8"):
+                       for l in codecs.open(checkdir+"/"+y, "r", "utf8"):
                                line +=1
                except UnicodeDecodeError, ue:
                        stats["file.UTF8"] += 1