diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-02 22:39:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-02 22:39:58 +0000 |
commit | 9d5431d3f127432253af653b09aba5a980d9da45 (patch) | |
tree | c4255d65842c044eb271dc0b7417014428b5ede1 /bin | |
parent | e0c9d0a2adf6bf1bea2ee571f11fc67b386dc9e7 (diff) | |
download | portage-9d5431d3f127432253af653b09aba5a980d9da45.tar.gz portage-9d5431d3f127432253af653b09aba5a980d9da45.tar.bz2 portage-9d5431d3f127432253af653b09aba5a980d9da45.zip |
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
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 2 insertions, 0 deletions
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 |