Fix the travis error message when CRs are present in mod.config
This commit is contained in:
parent
a53a4df6de
commit
22b24b05eb
@ -15,7 +15,7 @@ script:
|
|||||||
- make
|
- make
|
||||||
- |
|
- |
|
||||||
. mod.config;
|
. 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
|
if [ "${TRAVIS_TEST_MOD}" == "True" ]; then
|
||||||
make test || travis_terminate 1;
|
make test || travis_terminate 1;
|
||||||
fi;
|
fi;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user