mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 12:08:32 +03:00
8078dec3be
If there are *no* files with CRLF line endings, then the xargs exits with a non-zero exit code (as expected), but then, since that is the last thing to happen in the script, the script as a whole exits non-zero, making the whole thing fail. using `if/then/fi` instead of `&& (...)` means that the script exits with a zero exit code.
1 line
No EOL
73 B
Text
1 line
No EOL
73 B
Text
Add a script to detect source code files using non-unix line terminators. |