]> git.e2factory.org Git - e2factory.git/commitdiff
Fix indentation
authorTobias Ulmer <tu@emlix.com>
Tue, 21 May 2013 17:19:05 +0000 (19:19 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 13:58:55 +0000 (14:58 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2build.lua
local/e2tool.lua

index 58172548a83e4c2a84c1d86d5b1de64bf037d98c..a4045bf8e107db42173c1541b9b1a3abfebe9cfe 100644 (file)
@@ -198,9 +198,8 @@ function e2build.build_config(info, r)
     res.build_config = {} -- build up a new build config
     local tab = res.build_config
     local tmpdir = string.format("%s/e2factory-%s.%s.%s-build/%s",
-    e2lib.globals.tmpdir,
-    buildconfig.MAJOR, buildconfig.MINOR, buildconfig.PATCHLEVEL,
-    e2lib.globals.username)
+        e2lib.globals.tmpdir, buildconfig.MAJOR, buildconfig.MINOR,
+        buildconfig.PATCHLEVEL, e2lib.globals.username)
     local project = info.name
     local builddir = "tmp/e2"
     tab.mode = nil -- XXX
index f8c5a94c8aa2a418384d2dc7de4364786e02edf1..281ef89b2c8501ba342270b816c0c758e4dc29e5 100644 (file)
@@ -397,13 +397,13 @@ local function check_collect_project(info, resultname)
         return false, e
     end
     res.collect_project_results, re = e2tool.dlist_recursive(info,
-    res.collect_project_default_result)
+        res.collect_project_default_result)
     if not res.collect_project_results then
         return false, e:cat(re)
     end
     -- store a sorted list of required results
     table.insert(res.collect_project_results,
-    res.collect_project_default_result)
+        res.collect_project_default_result)
     table.sort(res.collect_project_results)
     e2lib.warnf("WDEFAULT", "in result %s:", resultname)
     e2lib.warnf("WDEFAULT", " collect_project takes these results: %s",
@@ -594,7 +594,7 @@ local function check_result(info, resultname)
         end
     end
     local build_script = string.format("%s/%s", info.root,
-    e2tool.resultbuildscript(info.results[resultname].directory))
+        e2tool.resultbuildscript(info.results[resultname].directory))
     if not e2lib.isfile(build_script) then
         e:append("build-script does not exist: %s", build_script)
     end
@@ -661,8 +661,8 @@ function e2tool.local_init(path, tool)
     info.ftab = strict.lock({
         collect_project_info = {},             -- f(info)
         check_result = {},                     -- f(info, resultname)
-        resultid = {},                 -- f(info, resultname)
-        pbuildid = {},                 -- f(info, resultname)
+        resultid = {},                         -- f(info, resultname)
+        pbuildid = {},                         -- f(info, resultname)
         dlist = {},                            -- f(info, resultname)
     })
 
@@ -2165,7 +2165,7 @@ end
 --- chroot group id.
 local function chrootgroupid(info, groupname)
     local e = err.new("calculating chroot group id failed for group %s",
-    groupname)
+        groupname)
     local g = info.chroot.groups_byname[groupname]
     if g.groupid then
         return g.groupid