diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-08-21 23:21:39 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-08-21 23:21:39 +0100 |
commit | 15d890c7c57f7cce8a84a90d639ab8b86959be62 (patch) | |
tree | f52771581927d42b151f72381d4d75c1dcd461d5 /tools/meta_tools.lua | |
parent | 31d83c2ad43fd562e2fb57fa8eb0acd87d0dc9a1 (diff) |
build: switch to using meson
Diffstat (limited to 'tools/meta_tools.lua')
-rw-r--r-- | tools/meta_tools.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/meta_tools.lua b/tools/meta_tools.lua index 006e156..3687a27 100644 --- a/tools/meta_tools.lua +++ b/tools/meta_tools.lua @@ -33,7 +33,8 @@ function meta_tools.write_link_file(name, links) end function meta_tools.get_note(note_name) - local file = io.open(string.format("build/%s.meta", note_name), "r") + local build_root = PANDOC_WRITER_OPTIONS.variables["build_root"] + local file = io.open(string.format("%s/%s.meta", build_root, note_name), "r") local note = {} for line in file:lines() do |