From ddd5833838ecfc282733b19d2ea9d730e9683892 Mon Sep 17 00:00:00 2001 From: godog <godog@autistici.org> Date: Sun, 3 May 2020 18:00:07 +0200 Subject: [PATCH] scripts: use go get with full path --- scripts/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index 92fce8e..4b571d9 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 -- GitLab