diff options
| author | Vega Deftwing <[email protected]> | 2024-04-11 20:21:30 +0000 |
|---|---|---|
| committer | Vega Deftwing <[email protected]> | 2024-04-11 20:21:30 +0000 |
| commit | a3f8048877e658493b9147a122fab2c788463591 (patch) | |
| tree | 31dfd40e2f895e4833af5a8faa62302a2c5eb62a /.github/ci/crlf.sh | |
| parent | 80fadada7056516aa566033929a305b36f6b9be4 (diff) | |
Revert xargs changes
Diffstat (limited to '.github/ci/crlf.sh')
| -rwxr-xr-x | .github/ci/crlf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/ci/crlf.sh b/.github/ci/crlf.sh index ede17c861..69838ce88 100755 --- a/.github/ci/crlf.sh +++ b/.github/ci/crlf.sh | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | set -euo pipefail | 5 | set -euo pipefail |
| 6 | 6 | ||
| 7 | FILES_WITH_CRLF=$(find ! -path "./.git/*" -not -type d | xargs -0 file -N | (grep " CRLF " || true)) | 7 | FILES_WITH_CRLF=$(find ! -path "./.git/*" -not -type d | xargs file -N | (grep " CRLF " || true)) |
| 8 | 8 | ||
| 9 | if [ -z "$FILES_WITH_CRLF" ]; then | 9 | if [ -z "$FILES_WITH_CRLF" ]; then |
| 10 | echo -e "No files with CRLF endings found." | 10 | echo -e "No files with CRLF endings found." |
