fix make verify cmd generated codes output package is ./

Signed-off-by: gy95 <guoyao17@huawei.com>
This commit is contained in:
gy95 2021-06-04 11:46:10 +08:00
parent bd0d3b8a0c
commit 9701cc6454
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ cd "${REPO_ROOT}"
echo "Generating with deepcopy-gen"
GO111MODULE=on go install k8s.io/code-generator/cmd/deepcopy-gen
GOPATH=$(go env GOPATH | awk -F ':' '{print $1}')
export GOPATH=$(go env GOPATH | awk -F ':' '{print $1}')
export PATH=$PATH:$GOPATH/bin
deepcopy-gen \