aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_paths.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-03-05 18:37:21 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-03-23 14:17:13 -0400
commitcbd7a2efcb367677f189e3bfed0f8206b1bd474d (patch)
treea6dd543a500989edaeb6de515c745eb04eeee120 /org/default_paths.org
parentmake set_depends run dub describe, track json output (diff)
fix issues raised by dmd2.095.1 ldc2 1.25.0
Diffstat (limited to 'org/default_paths.org')
-rw-r--r--org/default_paths.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/org/default_paths.org b/org/default_paths.org
index 5c4e15e..4df17e8 100644
--- a/org/default_paths.org
+++ b/org/default_paths.org
@@ -1455,6 +1455,7 @@ template spinePathsEPUB() {
#+NAME: template_paths_odf
#+BEGIN_SRC d
template spinePathsODT() {
+ import std.conv;
mixin spineRgxIn;
static auto rgx = RgxI();
auto spinePathsODT(M)(
@@ -1471,8 +1472,8 @@ template spinePathsODT() {
}
string dirtop(string type) {
return (type == "zip")
- ? "".chainPath("").array
- : ((base_pth.chainPath(doc_matters.src.doc_uid_out)).asNormalizedPath).array;
+ ? "" // ".chainPath("").array
+ : ((base_pth.chainPath(doc_matters.src.doc_uid_out)).asNormalizedPath).array.to!string;
}
string mimetype(string type="fs") {
assert(type == "zip" || "fs");