projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772c91f
)
dohtml: fix DOCDESTTREE path join
v2.2.3
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Sep 2013 20:46:48 +0000
(13:46 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Sep 2013 20:46:48 +0000
(13:46 -0700)
When DOCDESTTREE begins with a leading slash, it caused os.path.join()
to misbehave since commit
3f67cb453ee1b74894c230459b43855db7fcc410
.
bin/dohtml.py
patch
|
blob
|
history
diff --git
a/bin/dohtml.py
b/bin/dohtml.py
index 37d5b2ee22bd8eea96173a2757c47d4a35a4f0e5..500c523556e3542e3ed22c998433013b62ea018f 100755
(executable)
--- 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):