summaryrefslogtreecommitdiffstats
path: root/bin/regenworld
diff options
context:
space:
mode:
Diffstat (limited to 'bin/regenworld')
-rwxr-xr-xbin/regenworld3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/regenworld b/bin/regenworld
index ebac4a591..601653406 100755
--- a/bin/regenworld
+++ b/bin/regenworld
@@ -92,4 +92,5 @@ for mykey in biglist:
print "add to world:",myfavkey
worldlist.append(myfavkey)
-portage.write_atomic(os.path.join("/", portage.WORLD_FILE), "\n".join(worldlist))
+portage.write_atomic(os.path.join("/", portage.WORLD_FILE),
+ "\n".join(sorted(worldlist)) + "\n")