autoupdate: remove potential trailing slash from mirror URL
This commit is contained in:
parent
390b221b51
commit
f375cb7b30
|
@ -126,6 +126,9 @@ local function read_manifest(mirror)
|
|||
|
||||
local ret = {}
|
||||
|
||||
-- Remove potential trailing slash
|
||||
mirror = mirror:gsub('/$', '')
|
||||
|
||||
-- Read all lines from the manifest
|
||||
-- The upper part is saves to lines, the lower part to sigs
|
||||
for line in io.popen(string.format("exec wget -T 120 -O- '%s/%s.manifest'", mirror, branch.name), 'r'):lines() do
|
||||
|
|
Loading…
Reference in New Issue