From 672be48b08e5f211fef8a17e1516f473ece41218 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Tue, 14 Mar 2023 11:45:29 -0400 Subject: [PATCH] Added PROEJCT_NAME= --- deployment/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment/update.sh b/deployment/update.sh index 2fc2adf..a63d0d2 100755 --- a/deployment/update.sh +++ b/deployment/update.sh @@ -40,6 +40,9 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do export PROJECT_PREFIX="$PROJECT_PREFIX" export BITCOIN_CHAIN="$BITCOIN_CHAIN" + PROJECT_NAME="$PROJECT_PREFIX-$BITCOIN_CHAIN" + PROJECT_PATH="$PROJECTS_DIR/$PROJECT_NAME" + # if the user sets USER_TARGET_PROJECT, let's ensure the project exists. if [ -n "$USER_TARGET_PROJECT" ]; then if ! lxc project list | grep -q "$USER_TARGET_PROJECT"; then