mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +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
|
||||
${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
|
||||
|
Loading…
Reference in New Issue
Block a user