aboutsummaryrefslogtreecommitdiff
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
parent7d28a76ad5f6fc5db4a207fbd81a31b70cdb3866 (diff)
downloadgnunet-73ee949868200082b7e9131d2f410f289fd1c416.tar.gz
gnunet-73ee949868200082b7e9131d2f410f289fd1c416.zip
sort using C locale for a more stable sort
-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 @@
1#!/bin/sh 1#!/bin/sh
2# This script is in the public domain. 2# This script is in the public domain.
3
4# Set language domain to C for a more stable sort!
5export LANG=C
6
3find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in 7find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in
4grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in 8grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in
5 9