diff --git a/scripts/update.sh b/scripts/update.sh index 92fce8e83b6513631045a51936a80d0392084617..4b571d9e7688ec3b2e618a048d6dc8e2eed45277 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -31,7 +31,7 @@ find_or_install() { echo "Installing ${url}" >&2 # Go needs to be installed. 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} \ || die "Could not install ${bin}" fi