summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-10 07:44:14 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-10 07:44:14 +0000
commit2437617c019ec830b94b7770b17c97a9d1437cd0 (patch)
tree94c1b694ba2d109b3978a9209e1ae3a231935e0b
parent64042f15908946f17a96821eff85f4481b336001 (diff)
downloadportage-2437617c019ec830b94b7770b17c97a9d1437cd0.tar.gz
portage-2437617c019ec830b94b7770b17c97a9d1437cd0.tar.bz2
portage-2437617c019ec830b94b7770b17c97a9d1437cd0.zip
Make repoman ignore deeply nested CVS directories and files they contain in order to prevent false file.name errors (files with CVS directories may contain commas).
svn path=/main/trunk/; revision=3115
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index d502d8589..a3cc64f0f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -880,6 +880,8 @@ for x in scanlist:
if y == "CVS":
continue
for z in os.listdir(checkdir+"/files/"+y):
+ if z == "CVS":
+ continue
filesdirlist.append(y+"/"+z)
# current policy is no files over 20k, this is the check.
elif mystat.st_size > 20480: