From 45ea1f50098babd8ade75779d14f8aa4584c842e Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Sun, 13 Feb 2011 14:20:46 +0000 Subject: [PATCH] Shorter is better. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 49dfbec..e9cb58e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libfreefare.pc dist-hook: - @if ! grep -q "$$(LC_ALL=C date +'%d %b %Y' | tr '[[:upper:]]' '[[:lower:]]')" NEWS; then \ + @if ! grep -qi "$$(LC_ALL=C date +'%d %b %Y')" NEWS; then \ printf "\033[31;1mBEWARE! The first line from the NEWS file does not contain the current date!\033[0m\n"; \ sleep 3; \ fi