Browse Source

sort using C locale for a more stable sort

Christian Grothoff 4 years ago
parent
commit
73ee949868
1 changed files with 4 additions and 0 deletions
  1. 4 0
      bin/pogen.sh

+ 4 - 0
bin/pogen.sh

@@ -1,5 +1,9 @@
 #!/bin/sh
 # This script is in the public domain.
+
+# Set language domain to C for a more stable sort!
+export LANG=C
+
 find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_  | grep -v _old | grep -v chat | grep -v .libs/ | sort  > po/POTFILES.in
 grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in