From c2afb086c5296f39b875990fc5b57cb565f5a249 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 20 Feb 2013 19:38:52 +0100 Subject: [PATCH] Document info.local_template_path field Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index cf7afb7..358b679 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -84,6 +84,7 @@ local cache = require("cache") -- @field release_id string: release identifiert XXX where do we initialize it? -- @field env table: env table -- @field env_files table: list of env files +-- @field local_template_path Path to the local templates (string). --- table of sources records, keyed by source names -- @name sources @@ -1154,8 +1155,7 @@ function e2tool.collect_project_info(info, skip_load_config) return false, e:cat(re) end - info.local_template_path = string.format("%s/.e2/lib/e2/templates", - info.root) + info.local_template_path = e2lib.join(info.root, "/.e2/lib/e2/templates") e2lib.init2() -- configuration must be available -- 2.39.5