hack/lib/golang.sh: do not split on array items.

This commit is contained in:
Ismo Puustinen 2018-02-13 16:01:44 +02:00
parent 9209953c62
commit c0c888fdc1

View File

@ -675,7 +675,7 @@ kube::golang::build_binaries() {
kube::golang::build_kube_toolchain
kube::log::status "Generating bindata:" "${KUBE_BINDATAS[@]}"
for bindata in ${KUBE_BINDATAS[@]}; do
for bindata in "${KUBE_BINDATAS[@]}"; do
# Only try to generate bindata if the file exists, since in some cases
# one-off builds of individual directories may exclude some files.
if [[ -f "${KUBE_ROOT}/${bindata}" ]]; then