mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 09:40:19 +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:
parent
9776e23b83
commit
da2ee188f3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue