diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-16 17:17:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-16 17:17:46 +0100 |
commit | 73ee949868200082b7e9131d2f410f289fd1c416 (patch) | |
tree | 715c44739608b6cf01aa9c0e9403c8cc6a90fbdb /bin | |
parent | 7d28a76ad5f6fc5db4a207fbd81a31b70cdb3866 (diff) | |
download | gnunet-73ee949868200082b7e9131d2f410f289fd1c416.tar.gz gnunet-73ee949868200082b7e9131d2f410f289fd1c416.zip |
sort using C locale for a more stable sort
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pogen.sh | 4 |
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! | ||
5 | export LANG=C | ||
6 | |||
3 | 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 | 7 | 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 |
4 | grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in | 8 | grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in |
5 | 9 | ||