core-lightning/test-cli/scripts/vars.sh
Rusty Russell 186736050f test-cli: fix alpha case.
The output of grep confuses the scripts.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-09-24 14:41:55 +09:30

18 lines
412 B
Bash

# Sourced by other scripts
if grep -q ^FEATURES.*ALPHA ../Makefile; then
STYLE=alpha
DATADIR=$HOME/.alpha
REGTESTDIR=alpharegtest
CLI="alpha-cli -datadir=$DATADIR -regtest -testnet=0"
DAEMON="alphad -datadir=$DATADIR"
else
STYLE=bitcoin
CLI="bitcoin-cli -regtest"
DATADIR=$HOME/.bitcoin
REGTESTDIR=regtest
DAEMON="bitcoind -regtest"
fi
#PREFIX="valgrind --vgdb-error=1"