From f55b1c37b34fc86f164626c709c8189143a120f2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Nov 2007 21:17:40 +0000 Subject: Sort scanlist and ebuildlist to ensure that repoman always processes packages in a predictable order. svn path=/main/trunk/; revision=8383 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/repoman b/bin/repoman index 1f10a91d9..0da141034 100755 --- a/bin/repoman +++ b/bin/repoman @@ -640,6 +640,7 @@ elif repolevel==3: if catdir not in repoman_settings.categories: caterror(catdir) scanlist.append(catdir+"/"+reposplit[-1]) +scanlist.sort() profiles={} descfile=portdir+"/profiles/profiles.desc" @@ -858,6 +859,7 @@ for x in scanlist: fails["EAPI.unsupported"].append(os.path.join(x, y)) continue ebuild_metadata[pf] = myaux + ebuildlist.sort() if len(ebuild_metadata) != len(ebuildlist): # If we can't access all the metadata then it's totally unsafe to -- cgit v1.2.3-1-g7c22