git clone needs to enforce downloading into godir/

This commit is contained in:
Jeff Carr 2024-11-17 17:19:09 -06:00
parent 94e98f2145
commit a1ce58e9d0
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ func cloneActual(newdir, basedir, giturl string) error {
return err
}
cmd := []string{"git", "clone", "--verbose", "--progress", giturl}
cmd := []string{"git", "clone", "--verbose", "--progress", giturl, newdir}
log.Info("Running:", cmd)
r := shell.PathRunRealtime(basedir, cmd)
if r.Error != nil {