Skip to content

Commit

Permalink
Fix GOROOT and GOPATH
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Aug 30, 2024
1 parent 58e9eec commit bdb3167
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ mkdir -p $HOME/bin/go
mv ${BINARY_DIR}/go $HOME/bin
chmod +x $HOME/bin/go

export GOPATH=$HOME/bin/go
export PATH=$PATH:$GOPATH/bin
mkdir -p $HOME/workspace
export GOPATH=$HOME/workspace
export GOROOT=$HOME/bin/go
export PATH=$PATH:$GOROOT/bin
go version

print::message_with_color "${GREEN}" "Installing libpak/create-package."
Expand Down

0 comments on commit bdb3167

Please sign in to comment.