From a7f312c9b2658c3a4ec5fce8ceb421d8dec11fb1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 16 Jan 2003 00:09:15 +0000 Subject: don't yell when checking for "$" in DrakX.pot and only finding "\$" --- perl-install/share/po/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/share/po/Makefile') diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile index 4088668cb..3166e9447 100644 --- a/perl-install/share/po/Makefile +++ b/perl-install/share/po/Makefile @@ -48,7 +48,7 @@ clean: @rm -rf drakx-help.xml .memdump doc empty.po tmp.* messages tmp.pot *.mo $(POFILES:%=%t) check: - @grep -F '$$' DrakX.pot && { echo "bad translation strings (contains \$$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"; exit 1; } ||: + @grep '[^\\]\$$' DrakX.pot && { echo 'bad translation strings (contains $$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^'; exit 1; } ||: verif: perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES) -- cgit v1.2.1