aboutsummaryrefslogtreecommitdiff
path: root/package_git.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-06-02 05:41:39 +0700
committerShulhan <ms@kilabit.info>2018-06-04 00:07:21 +0700
commitfd2b25bb08063ed7deb09757374a260dba22ee5a (patch)
tree01c3ae4ddbbb67a50067913bcc3eaf7821845c64 /package_git.go
parent8c316a9b4cea498dfaecf41b00b6c1df239b14cb (diff)
downloadbeku-fd2b25bb08063ed7deb09757374a260dba22ee5a.tar.xz
Add common option "-V, --vendor" to work with vendor directory
Diffstat (limited to 'package_git.go')
-rw-r--r--package_git.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/package_git.go b/package_git.go
index 1f6d52d..ba50235 100644
--- a/package_git.go
+++ b/package_git.go
@@ -57,7 +57,7 @@ func (pkg *Package) gitCheckoutVersion(version string) (err error) {
}
//
-// gitClone the package into "$GOPATH/src/{ImportPath}".
+// gitClone the package into "{prefix}/src/{ImportPath}".
// If destination directory is not empty it will return an error.
//
func (pkg *Package) gitClone() (err error) {
@@ -238,7 +238,7 @@ func (pkg *Package) gitGetTagLatest() (tag string, err error) {
}
//
-// gitInstall the package into GOPATH source directory.
+// gitInstall the package into source directory.
//
func (pkg *Package) gitInstall() (err error) {
err = pkg.gitClone()