From 5b7e7d82041218bc2b6ed0585ae1f6641e027669 Mon Sep 17 00:00:00 2001 From: Andrew Santosa Date: Tue, 15 May 2018 11:01:53 +0800 Subject: Added check for : command not producing .gmo file in po/Makefile.in.in --- po/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'po/Makefile.in.in') diff --git a/po/Makefile.in.in b/po/Makefile.in.in index ef8bd94..9d9691e 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -89,7 +89,7 @@ CATALOGS = @CATALOGS@ @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ - cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && if [ x$(GMSGFMT) != x: ] ; then mv t-$${lang}.gmo $${lang}.gmo ; fi .sin.sed: sed -e '/^#/d' $< > t-$@ -- cgit v1.2.3