From: Gordon Hecker Date: Thu, 11 Jun 2009 13:06:43 +0000 (+0200) Subject: store path to source configuration correctly X-Git-Tag: e2factory-2.3.1~1 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=9f1305a14a900eed11f656cf3996f19d52265f30;p=e2factory.git store path to source configuration correctly Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 967aa88..cf97f08 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -2406,11 +2406,10 @@ function e2tool.load_source_config(info) for _,item in ipairs(list) do local name = item.data.name - + item.data.directory = src if not name and #list == 1 then e2lib.warnf("WDEFAULT", "`name' attribute missing in source config.") e2lib.warnf("WDEFAULT", " Defaulting to directory name") - item.data.directory = src item.data.name = slashToDot(src) name = slashToDot(src) end