aboutsummaryrefslogtreecommitdiff
path: root/src/function/generate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/generate.cc')
-rw-r--r--src/function/generate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/function/generate.cc b/src/function/generate.cc
index b93c2f1..5cd5781 100644
--- a/src/function/generate.cc
+++ b/src/function/generate.cc
@@ -33,7 +33,7 @@ DomDocumentCache::document_ptr FunctionGenerate::constructDocument(
result.setAttribute("path", (*targetPath).string());
boost::filesystem::create_directories(
- (*targetPath).parent_path()
+ boost::filesystem::absolute(*targetPath).parent_path()
);
boost::filesystem::ofstream file(*targetPath);