From 2a508508e70480eccdc7be42e1c5d391a319e441 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Thu, 22 Aug 2024 21:43:24 +1000 Subject: [PATCH] absolute pathname for :customize: https://github.com/metanorma/metanorma-generic/issues/77 --- lib/metanorma/generic/converter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metanorma/generic/converter.rb b/lib/metanorma/generic/converter.rb index e5cf664..af69bb7 100644 --- a/lib/metanorma/generic/converter.rb +++ b/lib/metanorma/generic/converter.rb @@ -84,7 +84,7 @@ def document(node) if node.attr("customize") p = node.attr("customize") (Pathname.new p).absolute? or - p = File.join(Metanorma::Utils::localdir(node), p) + p = File.expand(File.join(Metanorma::Utils::localdir(node), p)) read_config_file(p) end super