projects
/
treecutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ce295f
)
Temporarilly fixed the directory problem. runs in doc, with style and htdocs ..
author
Fredrik Unger
<fred@tree.se>
Tue, 15 Feb 2011 17:14:06 +0000
(18:14 +0100)
committer
Fredrik Unger
<fred@tree.se>
Tue, 15 Feb 2011 17:14:06 +0000
(18:14 +0100)
Should be made configurable and a standard path should be decided..
src/tree-cutter.py
patch
|
blob
|
history
diff --git
a/src/tree-cutter.py
b/src/tree-cutter.py
index c07820d802f7aec11d1bb4a09f57d43f6806bccb..db93a6d0d0ef978392573e577bf5b5e8e6f1b037 100755
(executable)
--- a/
src/tree-cutter.py
+++ b/
src/tree-cutter.py
@@
-11,7
+11,7
@@
from amara import bindery
from amara.xslt import transform
from Cheetah.Template import Template
-dist =
"."
+dist =
os.path.dirname(os.getcwd())
style = "default"
style_xslt = dist+"/style/"+style+"/docbook.xsl"
style_tmpl = dist+"/style/"+style+"/index.html.tmpl"