From 96fb39acd9a96bdfdd046aa30fb71925da11f9d8 Mon Sep 17 00:00:00 2001 From: Fredrik Unger Date: Tue, 15 Feb 2011 18:14:06 +0100 Subject: [PATCH] Temporarilly fixed the directory problem. runs in doc, with style and htdocs .. Should be made configurable and a standard path should be decided.. --- src/tree-cutter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree-cutter.py b/src/tree-cutter.py index c07820d..db93a6d 100755 --- 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" -- 2.30.2