From: Gordon Hecker Date: Thu, 4 Mar 2010 16:55:22 +0000 (+0100) Subject: cleanup: sort dependency list in check_result() instead doing it as a side-effect... X-Git-Tag: e2factory-2.3.4pre3~3 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=d9e897c3b68385aec50f303a6aebe5d2eb71c246;p=e2factory.git cleanup: sort dependency list in check_result() instead doing it as a side-effect in dlist() Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 7bc930a..c4b8ec6 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -900,7 +900,6 @@ function get_depends(info, resultname) if not res.depends then return t end - table.sort(res.depends) for _,d in ipairs(res.depends) do table.insert(t, d) end @@ -1868,6 +1867,7 @@ function check_result(info, resultname) end end end + table.sort(res.depends) if type(res.chroot) == "nil" then e2lib.warnf("WDEFAULT", "in result %s:", resultname) e2lib.warnf("WDEFAULT", " chroot groups not configured. " ..