3 # Copyright (c) 2017 The Bitcoin Core developers
4 # Distributed under the MIT software license, see the accompanying
5 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
7 # This script runs all contrib/devtools/lint-*.sh files, and fails if any exit
8 # with a non-zero status code.
12 SCRIPTDIR
=$
(dirname "${BASH_SOURCE[0]}")
13 LINTALL
=$
(basename "${BASH_SOURCE[0]}")
15 for f
in "${SCRIPTDIR}"/lint-
*.sh
; do
16 if [ "$(basename "$f")" != "$LINTALL" ]; then
18 echo "^---- failure generated from $f"