You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run-bitcoin-cli 452B

12345678910111213
  1. #!/bin/bash
  2. # This is a thin wrapper around bitcoin-cli that strips the Windows-style EOLs
  3. # from the output if present. It is necessary when using bitcoin-cli.exe on
  4. # Linux since shells will interpret the line-endings as part of the result.
  5. CURDIR=$(cd $(dirname "$0"); pwd)
  6. # Get BUILDDIR and REAL_BITCOIND
  7. # Grab the value of $REAL_BITCOINCLI which may be bitcoin-cli.exe.
  8. . "${CURDIR}/tests-config.sh"
  9. "${REAL_BITCOINCLI}" "$@" | sed 's/\r//'