small fix

git-svn-id: svn://kolibrios.org@5101 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2014-09-12 16:03:54 +00:00
parent ae1769e2e9
commit 7b7ab9316d

View File

@ -585,7 +585,7 @@ input_deps = {"kolibri.img"}
output_deps = {"distribution_kit/kolibri.img"}
make_distr_command = "ln -sr kolibri.img distribution_kit/kolibri.img"
for i,v in ipairs(distr_extra_files) do
make_distr_command = make_distr_command .. ' && ln -sr "' .. v[2] .. '" "distribution_kit/' .. v[1] .. '"'
make_distr_command = make_distr_command .. ' && ln -sr "`realpath "' .. v[2] .. '"`" "distribution_kit/' .. v[1] .. '"'
table.insert(input_deps, v[2])
if string.sub(v[1], -1) == "/"
then table.insert(output_deps, "distribution_kit/" .. v[1] .. tup.file(v[2]))