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

Commit35179e8

Browse files
committed
Avoid shell syntax error if list of languages is empty.
1 parentb1baceb commit35179e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/nls-global.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.6 2002/08/29 22:13:01 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/nls-global.mk,v 1.7 2002/09/02 22:19:42 petere Exp $
22

33
# Common rules for Native Language Support (NLS)
44
#
@@ -65,9 +65,11 @@ endif # not XGETTEXT
6565

6666

6767
install-po: all-po installdirs-po
68+
ifneq (,$(LANGUAGES))
6869
for lang in $(LANGUAGES); do \
6970
$(INSTALL_DATA) po/$$lang.mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(CATALOG_NAME).mo || exit 1; \
7071
done
72+
endif
7173

7274
installdirs-po:
7375
$(mkinstalldirs)$(foreach lang,$(LANGUAGES),$(DESTDIR)$(localedir)/$(lang)/LC_MESSAGES)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp