2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # DESCR: Verify that site-local is not in the coreboot repository
6 # Because site-local is intended for local use only, it should never be
7 # pushed to coreboot.org. Even for committing it for local use, it's
8 # recommended that it be kept in a separate repository, and pulled in
12 cd -- "$
(dirname "$0")" > /dev/null 2>&1 || return
16 # shellcheck source=helper_functions.sh
17 .
"${LINTDIR}/helper_functions.sh"
19 # Exit if the code isn't in a git repo
20 if [ "${IN_GIT_TREE}" -eq 0 ]; then
25 if [ -n "$(${FIND_FILES} site-local/*)" ]; then
26 echo "Error: site-local must be kept separate from the coreboot repository."