summaryrefslogtreecommitdiffstats
path: root/bin/portageq
diff options
context:
space:
mode:
Diffstat (limited to 'bin/portageq')
-rwxr-xr-xbin/portageq6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/portageq b/bin/portageq
index 12154df77..ce6318077 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -294,8 +294,10 @@ def vdb_path(argv):
Returns the path used for the var(installed) package database for the
set environment/configuration options.
"""
- print portage.root+portage.VDB_PATH
-
+ out = sys.stdout
+ out.write(os.path.join(portage.settings["ROOT"], portage.VDB_PATH) + "\n")
+ out.flush()
+ return os.EX_OK
def gentoo_mirrors(argv):
"""