]> git.e2factory.org Git - e2factory.git/commitdiff
Document info.local_template_path field
authorTobias Ulmer <tu@emlix.com>
Wed, 20 Feb 2013 18:38:52 +0000 (19:38 +0100)
committerTobias Ulmer <tu@emlix.com>
Tue, 26 Feb 2013 18:07:16 +0000 (19:07 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2tool.lua

index cf7afb7d5b6fd0c61b8eccc07a6a2cbd7514608d..358b679680918260b97377654f0e7b7201fba463 100644 (file)
@@ -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