From da2ee188f37826d90f34825948eb3643e1313542 Mon Sep 17 00:00:00 2001 From: Rene Pickhardt Date: Wed, 3 Mar 2021 09:37:05 +0100 Subject: [PATCH] added the default bitcoin path for macos to startup_regtest.sh [ Neatened shell script a little, removed unwanted submodule update --RR ] --- contrib/startup_regtest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/startup_regtest.sh b/contrib/startup_regtest.sh index 8d1b41989..6502685b8 100755 --- a/contrib/startup_regtest.sh +++ b/contrib/startup_regtest.sh @@ -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