From 22b24b05eb57e4f2e1cf5fdf17b524470342603e Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sat, 7 Dec 2019 01:35:46 +0100 Subject: [PATCH] Fix the travis error message when CRs are present in mod.config --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e2366dc..b0a75f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ script: - make - | . mod.config; - awk '/\r$$/ { exit(1); }' mod.config || (printf "Invalid mod.config format. File must be saved using unix-style (CR, not CRLF) line endings.\n"; travis_terminate 1); + awk '/\r$$/ { exit(1); }' mod.config || (printf "Invalid mod.config format. File must be saved using unix-style (LF, not CRLF or CR) line endings.\n"; travis_terminate 1); if [ "${TRAVIS_TEST_MOD}" == "True" ]; then make test || travis_terminate 1; fi;