From 9f1305a14a900eed11f656cf3996f19d52265f30 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Thu, 11 Jun 2009 15:06:43 +0200 Subject: [PATCH] store path to source configuration correctly Signed-off-by: Gordon Hecker --- local/e2tool.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5