mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
14 lines
452 B
Bash
Executable File
14 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This is a thin wrapper around bitcoin-cli that strips the Windows-style EOLs
|
|
# from the output if present. It is necessary when using bitcoin-cli.exe on
|
|
# Linux since shells will interpret the line-endings as part of the result.
|
|
|
|
CURDIR=$(cd $(dirname "$0"); pwd)
|
|
# Get BUILDDIR and REAL_BITCOIND
|
|
|
|
# Grab the value of $REAL_BITCOINCLI which may be bitcoin-cli.exe.
|
|
. "${CURDIR}/tests-config.sh"
|
|
|
|
"${REAL_BITCOINCLI}" "$@" | sed 's/\r//'
|