update generation bash to handle vendor dir

This commit is contained in:
deads2k
2017-01-17 08:55:50 -05:00
parent a6b655fb6a
commit e100e8990b
7 changed files with 36 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ kube::golang::setup_env
GROUP_VERSIONS=(federation/v1beta1)
GV_DIRS=()
for gv in "${GROUP_VERSIONS[@]}"; do
GV_DIRS+=("federation/$(kube::util::group-version-to-pkg-path "${gv}")")
GV_DIRS+=("$(kube::util::group-version-to-pkg-path "${gv}")")
done
# To avoid compile errors, remove the currently existing files.