Skip to content

Commit 4fa6e63

Browse files
authored
Merge pull request #2008 from jayesh-srivastava/go-install
Replaced `go get` with `go install` to install binaries
2 parents 2d1e011 + 20b28c1 commit 4fa6e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/go_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ cd "${tmp_dir}"
5151
go mod init fake/mod
5252

5353
# install the golang module specified as the first argument
54-
go get -tags tools "${1}@${3}"
54+
go install -tags tools "${1}@${3}"
5555
mv "${GOBIN}/${2}" "${GOBIN}/${2}-${3}"
5656
ln -sf "${GOBIN}/${2}-${3}" "${GOBIN}/${2}"

0 commit comments

Comments
 (0)