aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:22:51 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-12-27 20:22:51 +0200
commit54d792f3e5a31d993aeee420e98adab0a0419e43 (patch)
tree7c0721c9ec44ca74e654dc2e4f2ee67cb34d4ac9 /src
parent9099d84374eb71860dc881c7a158f8f1262b5734 (diff)
downloadpostgresql-54d792f3e5a31d993aeee420e98adab0a0419e43.tar.gz
postgresql-54d792f3e5a31d993aeee420e98adab0a0419e43.zip
Sort compendium lists for msgmerge
That way, the result of a msgmerge is more deterministic and not dependent on the order in which the files are found.
Diffstat (limited to 'src')
-rw-r--r--src/nls-global.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nls-global.mk b/src/nls-global.mk
index c95c3a496fa..60f73ba487d 100644
--- a/src/nls-global.mk
+++ b/src/nls-global.mk
@@ -120,8 +120,8 @@ init-po: po/$(CATALOG_NAME).pot
# For performance reasons, only calculate these when the user actually
# requested update-po or a specific file.
ifneq (,$(filter update-po %.po.new,$(MAKECMDGOALS)))
-ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u)
-all_compendia := $(shell find $(top_srcdir) -name '*.po' -print)
+ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | LC_ALL=C sort -u)
+all_compendia := $(shell find $(top_srcdir) -name '*.po' -print | LC_ALL=C sort)
else
ALL_LANGUAGES = $(AVAIL_LANGUAGES)
all_compendia = FORCE