contrib: change gen-manpages to work with elements-style tags

This commit is contained in:
Andrew Poelstra 2021-10-06 23:39:44 +00:00
parent af441ca7bb
commit 9019af809d

View file

@ -19,7 +19,7 @@ BITCOINQT=${BITCOINQT:-$BINDIR/qt/elements-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
read -r -a BTCVER <<< "$($BITCOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')"
read -r -a BTCVER <<< "$($BITCOINCLI --version | head -n1 | awk -F'[ _-]' '{ print $7, $8 }')"
# Create a footer file with copyright content.
# This gets autodetected fine for bitcoind if --version-string is not set,