Fix code-generator task

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-12-12 22:13:34 -03:00
parent ba2bef7a72
commit bcdd975025
4 changed files with 18 additions and 0 deletions

View file

@ -18,6 +18,8 @@ set -o errexit
set -o nounset
set -o pipefail
export GO111MODULE=off
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}