From 5466dd813876e32a4176cd61f2d54268b8756c3d Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Tue, 14 Apr 2015 12:52:28 -0700 Subject: [PATCH] hack: reliable sort in util.sh --- hack/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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