Let ROOT have a trailing /, such that ebuilds and eclasses that rely on
authorFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:35:25 +0000 (17:35 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:35:25 +0000 (17:35 -0000)
this continue to work.

svn path=/main/branches/prefix/; revision=4672

pym/portage.py

index 2d2ca0b2880ec04f356121f3779a39c04cd3c235..93d6fecdb1dd8149316f68a9b6f9aeef6266898d 100644 (file)
@@ -2367,7 +2367,7 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, t
                # due to how it's coded... Don't overwrite this so we can use it.
                mysettings["PORTAGE_DEBUG"]=str(debug)
 
-       mysettings["ROOT"]     = normalize_path(myroot+portage_const.EPREFIX)
+       mysettings["ROOT"]     = normalize_path(myroot+portage_const.EPREFIX)+"/"
        mysettings["STARTDIR"] = getcwd()
 
        mysettings["EBUILD"]   = ebuild_path