diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-01-09 12:37:37 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-01-09 12:37:37 +0000 |
commit | 58a81baa3c52eaa0f50520abf691249e6b1c3216 (patch) | |
tree | 2154e718a60e9def703b58ec98188f2591fef1bb | |
parent | 26dc14b6b2183f38f5b6103239149fb9a620f95e (diff) | |
download | postgresql-58a81baa3c52eaa0f50520abf691249e6b1c3216.tar.gz postgresql-58a81baa3c52eaa0f50520abf691249e6b1c3216.zip |
More portable use of "find".
-rw-r--r-- | src/nls-global.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nls-global.mk b/src/nls-global.mk index ef06d6e3723..872e75b6e0e 100644 --- a/src/nls-global.mk +++ b/src/nls-global.mk @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/nls-global.mk,v 1.17 2009/01/09 10:54:08 petere Exp $ +# $PostgreSQL: pgsql/src/nls-global.mk,v 1.18 2009/01/09 12:37:37 petere Exp $ # Common rules for Native Language Support (NLS) # @@ -96,8 +96,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' -printf '%f\n' | sort -u | sed 's/\.po$$//') -all_compendia := $(shell find $(top_srcdir) -name '*.po' -printf '%p ') +ALL_LANGUAGES := $(shell find $(top_srcdir) -name '*.po' -print | sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u) +all_compendia := $(shell find $(top_srcdir) -name '*.po' -print) else ALL_LANGUAGES = $(AVAIL_LANGUAGES) all_compendia = FORCE |