From: Zac Medico Date: Wed, 11 Sep 2013 20:46:48 +0000 (-0700) Subject: dohtml: fix DOCDESTTREE path join X-Git-Tag: v2.2.3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45ee7b009ad50eafd227acfd7cc14adc8aa469ab;p=portage.git dohtml: fix DOCDESTTREE path join When DOCDESTTREE begins with a leading slash, it caused os.path.join() to misbehave since commit 3f67cb453ee1b74894c230459b43855db7fcc410. --- diff --git a/bin/dohtml.py b/bin/dohtml.py index 37d5b2ee2..500c52355 100755 --- a/bin/dohtml.py +++ b/bin/dohtml.py @@ -77,7 +77,7 @@ def install(basename, dirname, options, prefix=""): desttree = "html" destdir = os.path.join(options.ED, "usr", "share", "doc", - options.PF.lstrip(os.sep), desttree, + options.PF.lstrip(os.sep), desttree.lstrip(os.sep), options.doc_prefix.lstrip(os.sep), prefix).rstrip(os.sep) if not os.path.exists(fullpath):