diff options
author | fanquake <fanquake@gmail.com> | 2019-07-05 09:00:44 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-07-05 09:19:23 +0800 |
commit | 1088b90cbae3e9e9fe686356361f1ce08ad8a478 (patch) | |
tree | 6b09919b6ef67c85b962ffd8b2547415bfe4a933 /contrib/devtools | |
parent | dfdcb3dfe535e3b9bb3d11757bb94f2f76398d97 (diff) | |
parent | 1ac454a3844b9b8389de0f660fa9455c0efa7140 (diff) | |
download | bitcoin-1088b90cbae3e9e9fe686356361f1ce08ad8a478.tar.xz |
Merge #16327: scripts and tools: Update ShellCheck linter
1ac454a3844b9b8389de0f660fa9455c0efa7140 Enable ShellCheck rules (Hennadii Stepanov)
Pull request description:
Enable some simple ShellCheck rules.
Note for reviewers: `bash` and `shellcheck` on macOS are different from ones on Ubuntu.
For local tests the latest `shellcheck` version 0.6.0 should be used (see #15166).
ACKs for top commit:
practicalswift:
utACK 1ac454a3844b9b8389de0f660fa9455c0efa7140
dongcarl:
utACK 1ac454a
fanquake:
ACK 1ac454a3844b9b8389de0f660fa9455c0efa7140
Tree-SHA512: 8d0a3a5c09fe1a0c22120178f5e6b80f81f746f8c3356b7701ff301c117acb2edea8fe08f08fb54ed73f94b1617515fb239fa28e7ab4121f74872e6494b6f20e
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-x | contrib/devtools/gen-manpages.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/gen-manpages.sh b/contrib/devtools/gen-manpages.sh index 63b9847100..dbdb622877 100755 --- a/contrib/devtools/gen-manpages.sh +++ b/contrib/devtools/gen-manpages.sh @@ -16,7 +16,7 @@ BITCOINQT=${BITCOINQT:-$BINDIR/qt/bitcoin-qt} [ ! -x $BITCOIND ] && echo "$BITCOIND not found or not executable." && exit 1 # The autodetected version git tag can screw up manpage output a little bit -BTCVER=($($BITCOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')) +read -r -a BTCVER <<< "$($BITCOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')" # Create a footer file with copyright content. # This gets autodetected fine for bitcoind if --version-string is not set, |