From 45ee7b009ad50eafd227acfd7cc14adc8aa469ab Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Sep 2013 13:46:48 -0700 Subject: [PATCH] dohtml: fix DOCDESTTREE path join When DOCDESTTREE begins with a leading slash, it caused os.path.join() to misbehave since commit 3f67cb453ee1b74894c230459b43855db7fcc410. --- bin/dohtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2