From 956e1615cad4579da29f42f365296c78ed5ed0fd Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Thu, 28 Feb 2013 20:45:37 +0100 Subject: [PATCH] Export licenceid() function Required by files plugin. Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index b22a966..f104a6c 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -2062,7 +2062,7 @@ end -- @param licence -- @return string -- @return an error object on failure -local function licenceid(info, licence) +function e2tool.licenceid(info, licence) local rc, re local e = err.new("calculating licence id failed for licence: %s", licence) @@ -2188,7 +2188,7 @@ function e2tool.pbuildid(info, resultname) hash.hash_line(hc, l) -- name -- We collect all licences. So we cannot be sure to catch -- them via results/sources. Include them explicitly here. - local lid, re = licenceid(info, l) + local lid, re = e2tool.licenceid(info, l) if not lid then return nil, e:cat(re) end -- 2.39.5