Fix the travis error message when CRs are present in mod.config

This commit is contained in:
abcdefg30 2019-12-07 01:35:46 +01:00 committed by Matthias Mailänder
parent a53a4df6de
commit 22b24b05eb

View File

@ -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;