]> git.e2factory.org Git - e2factory.git/commitdiff
e2tool: remove last trace of info.root
authorTobias Ulmer <tu@emlix.com>
Fri, 20 Jan 2017 17:50:43 +0000 (18:50 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 30 Jan 2017 13:33:34 +0000 (14:33 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2tool.lua

index dbab7088e89cb7c582f9d76227c3c848d1ce3f8a..97fcffdc562d6ae024830517def7192d818cf19c 100644 (file)
@@ -626,7 +626,6 @@ end
 -- @field startup_cwd Current working dir at startup (string).
 -- @field chroot_umask Umask setting for chroot (decimal number).
 -- @field host_umask Default umask of the process (decimal number).
--- @field root Project root directory (string).
 -- @field project_location string: project location relative to the servers
 -- @field local_template_path Path to the local templates (string).
 -- @field cache The cache object.
@@ -751,11 +750,11 @@ function e2tool.local_init(path, tool)
 
     init_umask(info)
 
-    info.root, re = e2lib.locate_project_root(path)
-    if not info.root then
+    rc, re = e2lib.locate_project_root(path)
+    if not rc then
         return false, e:append("not located in a project directory")
     end
-    e2tool.root(info.root)
+    e2tool.root(rc)
 
     -- load local plugins
     local ctx = {  -- plugin context