fix: check if repo location exists for local paths

This commit is contained in:
Amaan Qureshi 2023-03-16 11:31:20 -04:00 committed by Stephan Seitz
parent 17c275bfff
commit f3fbc7c9a7

View file

@ -330,6 +330,9 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
local compile_location
if from_local_path then
compile_location = repo.url
if repo.location then
compile_location = utils.join_path(compile_location, repo.location)
end
else
local repo_location = project_name
if repo.location then