commit 376fdbaa1a680ea67fa956e42860de9b669958b8 Author: Michał Górny Date: Sat Apr 17 15:21:09 2010 +0200 Encode ebuild_portdir before appending it to PORTDIR_OVERLAY. diff --git a/bin/ebuild b/bin/ebuild index fd87615..495a6bd 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -131,7 +131,7 @@ ebuild = os.path.join(ebuild_portdir, *ebuild.split(os.path.sep)[-3:]) # Make sure that portdb.findname() returns the correct ebuild. if ebuild_portdir not in portage.portdb.porttrees: os.environ["PORTDIR_OVERLAY"] = \ - os.environ.get("PORTDIR_OVERLAY","") + " " + ebuild_portdir + os.environ.get("PORTDIR_OVERLAY","") + " " + portage._unicode_encode(ebuild_portdir, encoding=portage._encodings['fs']) print("Appending %s to PORTDIR_OVERLAY..." % ebuild_portdir) portage.close_portdbapi_caches() imp.reload(portage)