From 0ae23ea26770cee7f1fabc5bb0ffd58143aaae70 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 30 Jun 2014 18:21:58 +0200 Subject: [PATCH] Use `grep` as detected by `configure`. --- src/i18n/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/Makefile.am b/src/i18n/Makefile.am index c2955cb8..c767b5d2 100644 --- a/src/i18n/Makefile.am +++ b/src/i18n/Makefile.am @@ -51,7 +51,7 @@ update: @if [ "$(PYBABEL)" = "" ]; then echo "Command 'pybabel' not found, required when updating i18n"; exit 1; fi for lang in $(LANGUAGES) ; do \ l=$$lang ; \ - if echo $$l | grep -q -; then \ + if echo $$l | $(GREP) -q -; then \ l=`echo $$lang | $(AWK) '{split($$0,a,"-"); printf "%s_%s", a[1],toupper(a[2])}'` ; \ fi ; \ $(PYBABEL) update -l $$l -i "$(CURDIR)/messages.pot" -o "$(CURDIR)/messages-$$lang.po" ; \