fix directory concatination
This commit is contained in:
@ -63,7 +63,7 @@ function M.clean()
|
||||
while handle do
|
||||
local name = h.uv.fs_scandir_next(handle)
|
||||
if name then
|
||||
queue[name] = packager.get_base_dir()..name
|
||||
queue[name] = packager.get_base_dir().."/"..name
|
||||
else
|
||||
break
|
||||
end
|
||||
|
@ -251,7 +251,7 @@ function package:new(spec, overrides)
|
||||
o.name = spec.as or o.name or id:match("^[%w-_.]+/([%w-_.]+)$")
|
||||
o.url = spec.url or o.url or ("https://github.com/"..id..".git")
|
||||
o.branch = spec.branch or o.branch
|
||||
o.dir = base_dir..o.name
|
||||
o.dir = base_dir.."/"..o.name
|
||||
o.commit = spec.commit
|
||||
o.pin = overrides.pin or spec.pin or o.pin
|
||||
o.enabled = not overrides.disable and not spec.disable and o.enabled
|
||||
|
Reference in New Issue
Block a user