mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 02:11:09 +00:00
fix iterating over files in hack/verify-generated-swagger-docs.sh
This commit is contained in:
parent
68a4ced74f
commit
49354dc645
@ -70,7 +70,7 @@ ret=0
|
||||
pushd "${KUBE_ROOT}" > /dev/null 2>&1
|
||||
# Test for diffs
|
||||
_output=""
|
||||
for file in ${TARGET_FILES[*]}; do
|
||||
for file in "${TARGET_FILES[@]}"; do
|
||||
_output="${_output}$(diff -Naupr -I 'Auto generated by' "${KUBE_ROOT}/${file}" "${_kubetmp}/${file}")" || ret=1
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user