Skip to content
Snippets Groups Projects
Commit ddd58338 authored by godog .'s avatar godog .
Browse files

scripts: use go get with full path

parent 1a29438e
Branches
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ find_or_install() { ...@@ -31,7 +31,7 @@ find_or_install() {
echo "Installing ${url}" >&2 echo "Installing ${url}" >&2
# Go needs to be installed. # Go needs to be installed.
is_installed go || die "Go needs to be installed. See https://golang.org/dl/" is_installed go || die "Go needs to be installed. See https://golang.org/dl/"
go get -u -d ${url} >&2 || true go get -u -d ${url}/${relpath} >&2 || true
go install ${url}/${relpath} \ go install ${url}/${relpath} \
|| die "Could not install ${bin}" || die "Could not install ${bin}"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment