From: Zac Medico Date: Wed, 11 Jan 2012 16:02:26 +0000 (-0800) Subject: quickpkg: add leading ./ to names for bug 398543 X-Git-Tag: v2.2.0_alpha85~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0dd5593f6754f92657c8c7331f66f812d10eeb44;p=portage.git quickpkg: add leading ./ to names for bug 398543 --- 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