mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-08 06:49:31 +01:00
186736050f
The output of grep confuses the scripts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
18 lines
412 B
Bash
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"
|