projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43411c1
)
Bug #230525 - Work around ObjectProxy breakage in `portageq vdb_path`.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Jul 2008 20:57:24 +0000
(20:57 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Jul 2008 20:57:24 +0000
(20:57 -0000)
svn path=/main/trunk/; revision=10929
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 12154df7797aa24166f9e1b4b6f25b3519f6b5b2..ce631807705ef92dbd338b484b9e7d44eb139ab9 100755
(executable)
--- 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):
"""