From 9d5431d3f127432253af653b09aba5a980d9da45 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Nov 2007 22:39:58 +0000 Subject: Sort scanlist and ebuildlist to ensure that repoman always processes packages in a predictable order. (trunk r8383) svn path=/main/branches/2.1.2/; revision=8384 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index f279900e3..0fca1f015 100755 --- a/bin/repoman +++ b/bin/repoman @@ -637,6 +637,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" @@ -960,6 +961,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