summaryrefslogtreecommitdiffstats
path: root/bin/ebuild
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-09-05 10:00:22 +0000
committerFabian Groffen <grobian@gentoo.org>2009-09-05 10:00:22 +0000
commit2b68c711bc37fe45c940a498227f2c367335b659 (patch)
tree80e87342519580883bf9c7d13f6256c1aa5e1322 /bin/ebuild
parent8f272835815d3ceee91fd1b6fefdc74b2d2d3d70 (diff)
downloadportage-2b68c711bc37fe45c940a498227f2c367335b659.tar.gz
portage-2b68c711bc37fe45c940a498227f2c367335b659.tar.bz2
portage-2b68c711bc37fe45c940a498227f2c367335b659.zip
Fix usage of VDB_PATH
svn path=/main/trunk/; revision=14187
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)