summaryrefslogtreecommitdiffstats
path: root/bin/ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 3362dff4c..18abb00e8 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -135,7 +135,7 @@ if not portage.catpkgsplit(cpv):
print "!!! %s does not follow correct package syntax." % (cpv)
sys.exit(1)
-if ebuild.startswith(portage.root + portage.const.VDB_PATH):
+if ebuild.startswith(os.path.join(portage.root, portage.const.VDB_PATH)):
mytree = "vartree"
portage_ebuild = portage.db[portage.root][mytree].dbapi.findname(cpv)