mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-02 20:54:23 +01:00
added the default bitcoin path for macos to startup_regtest.sh
[ Neatened shell script a little, removed unwanted submodule update --RR ]
This commit is contained in:
committed by
Rusty Russell
parent
9776e23b83
commit
da2ee188f3
@@ -54,6 +54,8 @@ fi
|
||||
if [ -z "$PATH_TO_BITCOIN" ]; then
|
||||
if [ -d "$HOME/.bitcoin" ]; then
|
||||
PATH_TO_BITCOIN="$HOME/.bitcoin"
|
||||
elif [ -d "$HOME/Library/Application Support/Bitcoin/" ]; then
|
||||
PATH_TO_BITCOIN="$HOME/Library/Application Support/Bitcoin/"
|
||||
else
|
||||
echo "\$PATH_TO_BITCOIN not set to a .bitcoin dir?" >&2
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user