Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58a81ba

Browse files
committed
More portable use of "find".
1 parent26dc14b commit58a81ba

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/0910:54:08 petere Exp $
1+
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.18 2009/01/0912: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)

[8]ページ先頭

©2009-2025 Movatter.jp