summaryrefslogtreecommitdiff
path: root/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'new.go')
-rw-r--r--new.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/new.go b/new.go
index a819a4a..fd1afef 100644
--- a/new.go
+++ b/new.go
@@ -154,7 +154,7 @@ func Clone(wdir string, path string) error {
path = "go.googlesource.com/xerrors"
}
- shell.RunPath(fulldir, []string{"git", "clone", "http://" + path})
+ shell.PathRun(fulldir, []string{"git", "clone", "http://" + path})
if IsDirectory(fullpath) {
// clone worked
return nil
@@ -166,7 +166,7 @@ func Clone(wdir string, path string) error {
return err
}
log.Info("URL:", url)
- shell.RunPath(fulldir, []string{"git", "clone", url, base})
+ shell.PathRun(fulldir, []string{"git", "clone", url, base})
if IsDirectory(fullpath) {
// clone worked
return nil