mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 18:54:06 +00:00
hack: reliable sort in util.sh
This commit is contained in:
parent
f7ae442a02
commit
5466dd8138
@ -138,7 +138,7 @@ kube::util::gen-doc() {
|
|||||||
# generate the new files
|
# generate the new files
|
||||||
${cmd} "${tmpdir}"
|
${cmd} "${tmpdir}"
|
||||||
# create the list of generated files
|
# 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
|
# put the new generated file into the destination
|
||||||
find "${tmpdir}" -exec rsync -pt {} "${dest}" \; >/dev/null
|
find "${tmpdir}" -exec rsync -pt {} "${dest}" \; >/dev/null
|
||||||
#cleanup
|
#cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user