Debian Codegraph @

util/lint/lint-stable-026-line-endings

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. sh
2 #
3 # SPDX-License-Identifier: GPL-2.0-only
4
5 # DESCR: Verify that files don't contain windows line endings
6
7 LINTDIR="$(
8 cd -- "$(dirnamescip-shell system . . dirname. "$0")" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || return
9 pwdscip-shell system . . pwd. -P
10 )"
11
12 # shellcheck source=helper_functions.sh
13 . "${LINTDIR}/helper_functions.sh"
14
15 EXCLUDE='^3rdparty/\|^payloads/external\|^.git\|build\|util/crossgcc/xgcc'
16
17 ${GREP_FILES} -IlP "\r$" | grepscip-shell system . . grep. -v "$EXCLUDE"