Skip to content

Commit

Permalink
symlink Go binary
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Feb 28, 2025
1 parent 0927f9f commit a431c95
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/cross/bootstrap-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,4 @@ GO_TAR_FILE="go${GO_VERSION}.linux-amd64.tar.gz"
wget https://go.dev/dl/${GO_TAR_FILE}
tar -C /usr/local -xzf ${GO_TAR_FILE}
rm ${GO_TAR_FILE}

# Set Go binary in PATH globally
echo "export PATH=\$PATH:/usr/local/go/bin" >> /etc/profile
. /etc/profile
ln -s /usr/local/go/bin/go /usr/local/bin/go

0 comments on commit a431c95

Please sign in to comment.