small fix

git-svn-id: svn://kolibrios.org@5103 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2014-09-12 16:23:39 +00:00
parent 30de08ace6
commit 0840eef418

View File

@ -585,7 +585,7 @@ cp = "cp %f %o"
tup.definerule{inputs = {"kolibri.img"}, command = cp, outputs = {"distribution_kit/kolibri.img"}}
for i,v in ipairs(distr_extra_files) do
if string.sub(v[1], -1) == "/"
then tup.definerule{inputs = v[2], command = cp, outputs = {"distribution_kit/" .. v[1] .. tup.file(v[2])}}
else tup.definerule{inputs = v[2], command = cp, outputs = {"distribution_kit/" .. v[1]}}
then tup.definerule{inputs = {v[2]}, command = cp, outputs = {"distribution_kit/" .. v[1] .. tup.file(v[2])}}
else tup.definerule{inputs = {v[2]}, command = cp, outputs = {"distribution_kit/" .. v[1]}}
end
end