git clone needs to enforce downloading into godir/
This commit is contained in:
parent
94e98f2145
commit
a1ce58e9d0
2
clone.go
2
clone.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue