From 9099d84374eb71860dc881c7a158f8f1262b5734 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 27 Dec 2011 20:20:56 +0200 Subject: [PATCH] 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. --- src/backend/nls.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/nls.mk b/src/backend/nls.mk index a081293c6f..30f6a2bf9f 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 -- 2.40.0