Commit 5466dd81 authored by Xiang Li's avatar Xiang Li

hack: reliable sort in util.sh

parent f7ae442a
...@@ -138,7 +138,7 @@ kube::util::gen-doc() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment