summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-16 17:17:46 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-16 17:17:46 +0100
commit73ee949868200082b7e9131d2f410f289fd1c416 (patch)
tree715c44739608b6cf01aa9c0e9403c8cc6a90fbdb /bin
parent7d28a76ad5f6fc5db4a207fbd81a31b70cdb3866 (diff)
sort using C locale for a more stable sort
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/pogen.sh b/bin/pogen.sh
index 453e0b1d8..b97ef046a 100755
--- a/bin/pogen.sh
+++ b/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