Commit a2c0bed9 authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

Fix wrong workingDir of clone proc

parent 5fa276d8
Pipeline #2186 canceled with stages
......@@ -174,7 +174,7 @@ proc cloneProject*(projects: seq[string]) =
if dirExists(project.path):
project.log.logErr(project.name, "Dir exists", "")
else:
if gbpClone(config.gbpPath, config.gitUrl, project.name, project.path, stderr) != 0:
if gbpClone(config.gbpPath, config.gitUrl, project.name, config.rootPath, stderr) != 0:
project.log.logErr(project.name, "Error while cloning", stderr)
else:
project.log.logInfo(project.name, "Cloned successfully.")
......
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