mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +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
|
pushd "${KUBE_ROOT}" > /dev/null 2>&1
|
||||||
# Test for diffs
|
# Test for diffs
|
||||||
_output=""
|
_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
|
_output="${_output}$(diff -Naupr -I 'Auto generated by' "${KUBE_ROOT}/${file}" "${_kubetmp}/${file}")" || ret=1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user