Fix -disablewallet default value
[bitcoinplatinum.git] / contrib / devtools / lint-all.sh
blobb6d86959c669c60919a738cd74674a40c4e89118
1 #!/bin/bash
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.
10 set -u
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
17 if ! "$f"; then
18 echo "^---- failure generated from $f"
19 exit 1
22 done