Commit b1b63309 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt

firmware-bot: set relative links bacause mirrors getting confuses

parent 459ae8a9
......@@ -68,7 +68,7 @@ local function check_manifest_symlink(firmware_dir)
for dir in io.popen(string.format("find %s -mindepth 1 -type d", firmware_dir), 'r'):lines() do
for file in io.popen(string.format("find %s -type f | egrep *.manifest", dir), 'r'):lines() do
if io.open(dir.."/manifest", "r") == nil then
os.execute("ln -s " .. file .. " " .. dir.."/manifest")
os.execute("ln -rs " .. file .. " " .. dir.."/manifest")
io.stderr:write(dir.."/manifest\n")
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment