mb/google/parrot: Fix smbus subsystem ID
[coreboot.git] / util / lint / lint-stable-023-filenames
blobc107deda7bdb2d23451df1cf8f414aa6871588c0
1 #!/usr/bin/env sh
3 # SPDX-License-Identifier: GPL-2.0-only
5 # DESCR: Check for illegal characters in filename
7 LINTDIR="$(
8 cd -- "$(dirname "$0")" > /dev/null 2>&1 || return
9 pwd -P
12 # shellcheck source=helper_functions.sh
13 . "${LINTDIR}/helper_functions.sh"
15 # Exit if the code isn't in a git repo
16 if [ "${IN_GIT_TREE}" -eq 0 ]; then
17 exit 0
20 ${FIND_FILES} | grep "[^A-Za-z0-9/_\.-]"