From c40373a9d42f281f5449831712ac3a85f568169c Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 3 Apr 2016 00:09:26 +0300 Subject: [PATCH] Add another sanity check. --- fortune-mod/datfiles/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fortune-mod/datfiles/Makefile b/fortune-mod/datfiles/Makefile index 5825485..1667395 100644 --- a/fortune-mod/datfiles/Makefile +++ b/fortune-mod/datfiles/Makefile @@ -26,6 +26,11 @@ check: echo "Fortune cookie file contains a line longer than 78 characters"; \ exit 1; \ fi; \ + if egrep -q "`printf "\\r"`" $$i ; then \ + echo " failed lack of carriage-return check"; \ + echo "Fortune cookie file contains a CR"; \ + exit 1; \ + fi; \ echo " passed " ;\ done; -- 2.40.0