Fix go binary path

This PS fixed Go binary path in some bionic image docker build process.

Change-Id: I9975b4898b7cd312672bbad92765bc2ab5ed3089
This commit is contained in:
Sergiy Markin 2023-05-31 14:33:23 +00:00
parent 73d22a488f
commit 6609d561e1
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@ if $(uname -a | grep -q Ubuntu); then
GOPATH=$1
BUILD_DIR=$2
if [[ ! -f ./baclient_built ]]; then
GO111MODULE=off GOPATH=${GOPATH} go build -v -o ${BUILD_DIR}/baclient baclient
whereis go
go env
GO111MODULE=off GOPATH=${GOPATH} /usr/bin/go build -v -o ${BUILD_DIR}/baclient baclient
else
echo "Baclient library is already built. No action."
fi