aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-01-11 08:02:26 -0800
committerZac Medico <zmedico@gentoo.org>2012-01-11 08:02:26 -0800
commit0dd5593f6754f92657c8c7331f66f812d10eeb44 (patch)
tree29fae0edaad4bde8014ea048a72795b1dbb4f6c5
parentDEVELOPING: add "Dependencies" section (diff)
downloadportage-0dd5593f6754f92657c8c7331f66f812d10eeb44.tar.gz
portage-0dd5593f6754f92657c8c7331f66f812d10eeb44.tar.bz2
portage-0dd5593f6754f92657c8c7331f66f812d10eeb44.zip
quickpkg: add leading ./ to names for bug 398543
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index a66316ba1..af70ec3fe 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -4629,7 +4629,7 @@ def tar_contents(contents, root, tar, protect=None, onProgress=None):
continue
contents_type = contents[path][0]
if path.startswith(root):
- arcname = path[len(root):]
+ arcname = "./" + path[len(root):]
else:
raise ValueError("invalid root argument: '%s'" % root)
live_path = path