Skip to content

Commit 54d792f

Browse files
committed
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.
1 parent 9099d84 commit 54d792f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nls-global.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ init-po: po/$(CATALOG_NAME).pot
120120
# For performance reasons, only calculate these when the user actually
121121
# requested update-po or a specific file.
122122
ifneq (,$(filter update-po %.po.new,$(MAKECMDGOALS)))
123-
ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u)
124-
all_compendia := $(shell find $(top_srcdir) -name '*.po' -print)
123+
ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | LC_ALL=C sort -u)
124+
all_compendia := $(shell find $(top_srcdir) -name '*.po' -print | LC_ALL=C sort)
125125
else
126126
ALL_LANGUAGES = $(AVAIL_LANGUAGES)
127127
all_compendia = FORCE

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy