From 249f34e82ff331d92ddeee7232b942f1ccbcd4c8 Mon Sep 17 00:00:00 2001 From: Debendra Oli Date: Wed, 30 Oct 2024 16:23:26 +0545 Subject: [PATCH] fix: default config path for installation script --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c404523..7949eee 100755 --- a/install.sh +++ b/install.sh @@ -96,7 +96,6 @@ fi # RELAYER CONFIG_PATH read -p "Enter relayer config (path to config.yaml) [./config.yaml]: " CONFIG_PATH -CONFIG_PATH=${CONFIG_PATH:-./config.yaml} # Check if CONFIG_PATH exists if [[ ! -f "${CONFIG_PATH}" ]]; then @@ -119,7 +118,7 @@ ENABLE_LETSENCRYPT=${ENABLE_LETSENCRYPT} LETSENCRYPT_USE_STAGING=${LETSENCRYPT_USE_STAGING} LETSENCRYPT_DOMAIN=${LETSENCRYPT_DOMAIN} LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} -CONFIG_PATH=${CONFIG_PATH} +CONFIG_PATH=${CONFIG_PATH:-./config.yaml} EOF # Navigate to configuration directory