--- regenworld.orig 2010-06-02 17:14:04.000000000 +0200 +++ regenworld 2010-06-02 17:18:41.000000000 +0200 @@ -48,7 +48,7 @@ __uniqlist__.append(pkgline) return True - world_file = os.path.join(portage.const.EPREFIX, portage.WORLD_FILE) +world_file = os.path.join("/", portage.WORLD_FILE) # show a little description if we have arguments if len(sys.argv) >= 2 and sys.argv[1] in ["-h", "--help"]: @@ -100,5 +100,5 @@ print("add to world:",myfavkey) worldlist.append(myfavkey) -portage.write_atomic(os.path.join(portage.const.EPREFIX, portage.WORLD_FILE), +portage.write_atomic(os.path.join("/", portage.WORLD_FILE), "\n".join(sorted(worldlist)) + "\n")