Skip to content

Commit 58a81ba

Browse files
committed
More portable use of "find".
1 parent 26dc14b commit 58a81ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nls-global.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.17 2009/01/09 10:54:08 petere Exp $
1+
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.18 2009/01/09 12:37:37 petere Exp $
22

33
# Common rules for Native Language Support (NLS)
44
#
@@ -96,8 +96,8 @@ init-po: po/$(CATALOG_NAME).pot
9696
# For performance reasons, only calculate these when the user actually
9797
# requested update-po or a specific file.
9898
ifneq (,$(filter update-po %.po.new,$(MAKECMDGOALS)))
99-
ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -printf '%f\n' | sort -u | sed 's/\.po$$//')
100-
all_compendia := $(shell find $(top_srcdir) -name '*.po' -printf '%p ')
99+
ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u)
100+
all_compendia := $(shell find $(top_srcdir) -name '*.po' -print)
101101
else
102102
ALL_LANGUAGES = $(AVAIL_LANGUAGES)
103103
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