From: Benno Schulenberg Date: Mon, 1 Jun 2015 10:46:45 +0000 (+0200) Subject: po: When doing msgmerge --version, no other options are needed. X-Git-Tag: v0.19.5~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=501d166b9cf38b25f63346f8900f6e5f669498e2;p=thirdparty%2Fgettext.git po: When doing msgmerge --version, no other options are needed. * gettext-runtime/po/Makefile.in.in: Do not use --update when simply checking for the version, as this might fail when msgmerge is very old. Signed-off-by: Benno Schulenberg --- diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog index b0281d3a0..ef3b02674 100644 --- a/gettext-runtime/po/ChangeLog +++ b/gettext-runtime/po/ChangeLog @@ -1,3 +1,8 @@ +2015-05-31 Benno Schulenberg (tiny change) + + * Makefile.in.in: Do not use --update when simply checking for + the version, as this might fail when msgmerge is very old. + 2015-02-18 Daiki Ueno * Makefile.in.in: Replace our own wording of licensing with GNU diff --git a/gettext-runtime/po/Makefile.in.in b/gettext-runtime/po/Makefile.in.in index d1ca9d781..1998486e1 100644 --- a/gettext-runtime/po/Makefile.in.in +++ b/gettext-runtime/po/Makefile.in.in @@ -224,7 +224,7 @@ $(POFILES): $(POFILESDEPS) test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ - && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + && { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ *) \