diff --git a/hack/lib/util.sh b/hack/lib/util.sh index 89f9c20e311..abc786fa12b 100644 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -138,7 +138,7 @@ kube::util::gen-doc() { # generate the new files ${cmd} "${tmpdir}" # create the list of generated files - ls "${tmpdir}" | sort > "${tmpdir}/.files_generated" + ls "${tmpdir}" | LC_ALL=C sort > "${tmpdir}/.files_generated" # put the new generated file into the destination find "${tmpdir}" -exec rsync -pt {} "${dest}" \; >/dev/null #cleanup