Shorter is better.

This commit is contained in:
Romain Tartiere 2011-02-13 14:20:46 +00:00
parent 22e9854995
commit 45ea1f5009

View file

@ -8,7 +8,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libfreefare.pc pkgconfig_DATA = libfreefare.pc
dist-hook: 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"; \ printf "\033[31;1mBEWARE! The first line from the NEWS file does not contain the current date!\033[0m\n"; \
sleep 3; \ sleep 3; \
fi fi