From: Tobias Ulmer Date: Wed, 20 Feb 2013 18:38:52 +0000 (+0100) Subject: Document info.local_template_path field X-Git-Tag: e2factory-2.3.13rc1~6 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=c2afb086c5296f39b875990fc5b57cb565f5a249;p=e2factory.git Document info.local_template_path field Signed-off-by: Tobias Ulmer --- 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