hack: reliable sort in util.sh
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user