Skip to content

Commit

Permalink
testing with latest ersion
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikpuneet07 committed Jun 10, 2024
1 parent 537940e commit bfefa5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxysql/build-binary-proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ elif [ -f /usr/bin/apt ]; then
fi

# We need to use golang version >= 1.21. Downloading golang from tarball to ensure each platform uses the same version.
sudo wget https://go.dev/dl/go1.17.7.linux-amd64.tar.gz
sudo wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz

# /usr/local is the default path included in the $PATH variable. Using any other custom installation path will not work
# Example:
Expand All @@ -61,7 +61,7 @@ sudo wget https://go.dev/dl/go1.17.7.linux-amd64.tar.gz
#
# The above method will not work. This is because the value of $PATH is not preserved/passed on to the child scipt from the parent script
# Hence using the default $PATH that is available to every new session (both parent and child script)
sudo tar -C /usr/local/ -xzf go1.17.7.linux-amd64.tar.gz
sudo tar -C /usr/local/ -xzf go1.22.4.linux-amd64.tar.gz
sudo cp /usr/local/go/bin/go /usr/local/bin/go
if [ -f /usr/bin/yum ]; then
RHEL=$(rpm --eval %rhel)
Expand Down

0 comments on commit bfefa5d

Please sign in to comment.