summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-30 03:15:10 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-30 03:15:10 +0000
commita0c19c9b7b5add9c3795d9ca89edd354751d69d1 (patch)
tree6966ecf94cb11985b64a2ec058fbeebc4f0d2bd6
parentdc2fb119be964041ebc2c99dcc070ace90cea034 (diff)
downloadportage-a0c19c9b7b5add9c3795d9ca89edd354751d69d1.tar.gz
portage-a0c19c9b7b5add9c3795d9ca89edd354751d69d1.tar.bz2
portage-a0c19c9b7b5add9c3795d9ca89edd354751d69d1.zip
Sort the --info USE flags for bug #159161.
svn path=/main/trunk/; revision=5420
-rwxr-xr-xbin/emerge2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 780608529..17a54cbc5 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -4232,6 +4232,8 @@ def action_info(settings, trees, myopts, myfiles):
for f in list(use):
if f.startswith(flag_prefix):
use.remove(f)
+ use = list(use)
+ use.sort()
print 'USE="%s"' % " ".join(use),
for varname in use_expand:
myval = settings.get(varname)