mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Fix script scripts/prepareUbuntuInstanceForITests.sh for new go.dev API
* Adapt finding the current go version to the new result of https://go.dev/VERSION\?m=text by using only the first line. Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
This commit is contained in:
parent
0b914f7e7a
commit
bda7ade837
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ apt update
|
|||
apt install -y make bash curl gnupg sed tar git nginx fcgiwrap gnutls-bin
|
||||
|
||||
# Install Go from binary distribution
|
||||
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
|
||||
latest_go="$(curl https://go.dev/VERSION\?m=text| head -1).linux-amd64.tar.gz"
|
||||
curl -O https://dl.google.com/go/$latest_go
|
||||
rm -rf /usr/local/go # be sure that we do not have an old installation
|
||||
tar -C /usr/local -xzf $latest_go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue