diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | bin/repoman | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -7,6 +7,9 @@ 2. /var/cache/edb/world is now /var/lib/portage/world. 3. /etc/portage/profile/virtuals is _USER_ configs only. + 01 Oct 2005; Brian Harring <ferringb@gentoo.org> bin/repoman: + Touch ups to file.name check. + 01 Oct 2005; Brian Harring <ferringb@gentoo.org> bin/ebuild, pym/portage.py: Fixed ebuild some-ebuild setup unpack so it functions like diff --git a/bin/repoman b/bin/repoman index 62e7852f3..4b813a3a1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -835,10 +835,10 @@ for x in scanlist: stats["file.size"] += 1 fails["file.size"].append("("+ str(mystat.st_size/1024) + "K) "+x+"/files/"+y) - for c in y.strip(os.path.sep): + for c in os.path.basename(y.rstrip(os.path.sep)): if c not in allowed_filename_chars_set: stats["file.name"] += 1 - fails["file.name"].append("%s/%s: char '%s'" % (checkdir, y, c)) + fails["file.name"].append("%s/files/%s: char '%s'" % (checkdir, y, c)) break |