From: Julian Andres Klode Date: Mon, 30 Nov 2015 19:33:43 +0000 (+0100) Subject: defaults.mak: Set LC_COLLATE=C.UTF-8 for reproducible sort order X-Git-Tag: 1.1.4~13 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/be9dbd0642538761073bfa461646822d4e800985?ds=inline defaults.mak: Set LC_COLLATE=C.UTF-8 for reproducible sort order With the 1.1.3 release we have seen some re-ordering of the translation template and the translations. It turns out that this is because sort sorts differently depending on the locale, so let's force it to always sort in the C locale. --- diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak index c7931c504..783cc11b0 100644 --- a/buildlib/defaults.mak +++ b/buildlib/defaults.mak @@ -180,3 +180,6 @@ ifndef PARALLEL_RUN MAKEFLAGS += -j $(NUM_PROCS) endif endif + +# This makes sorting predictable +export LC_COLLATE=C.UTF-8