aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:20:56 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:20:56 +0200
commit9099d84374eb71860dc881c7a158f8f1262b5734 (patch)
treec2875deb5bbce38050937325844e5e3b06d3e1a8 /src
parent7db101c36ef7c998cfcf3f4a324c58c23f88927c (diff)
downloadpostgresql-9099d84374eb71860dc881c7a158f8f1262b5734.tar.gz
postgresql-9099d84374eb71860dc881c7a158f8f1262b5734.zip
Sort file list when creating gettext-files
That way, the created .pot file is more deterministic and not dependent on the order in which the files are found.
Diffstat (limited to 'src')
-rw-r--r--src/backend/nls.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/nls.mk b/src/backend/nls.mk
index a081293c6f1..30f6a2bf9f8 100644
--- a/src/backend/nls.mk
+++ b/src/backend/nls.mk
@@ -12,7 +12,7 @@ GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
write_stderr:1:c-format
gettext-files: distprep
- find $(srcdir)/ $(srcdir)/../port/ -name '*.c' -print >$@
+ find $(srcdir)/ $(srcdir)/../port/ -name '*.c' -print | LC_ALL=C sort >$@
my-clean:
rm -f gettext-files