diff options
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 8dd2866b0..c36e19193 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5826,7 +5826,8 @@ class dblink: os.chown(pdir, 0, portage_gid) os.chmod(pdir, 02770) - write_atomic(os.path.join(self.myroot,WORLD_FILE),"\n".join(newworldlist)) + write_atomic(os.path.join(self.myroot, WORLD_FILE.lstrip(os.sep)), + "\n".join(newworldlist)) #do original postrm if myebuildpath and os.path.exists(myebuildpath): |