From ab34c90140fecc25a5edb8bd7788dbc14a32861e Mon Sep 17 00:00:00 2001 From: "Illuminatus [CCIO]" Date: Thu, 8 Aug 2024 08:26:00 -0700 Subject: [PATCH] RING-47285 - Instantiate MITHRIL_HOME if not already set by environment. --- scripts/cnode-helper-scripts/guild-deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/cnode-helper-scripts/guild-deploy.sh b/scripts/cnode-helper-scripts/guild-deploy.sh index 2412a3e8f..049327e45 100755 --- a/scripts/cnode-helper-scripts/guild-deploy.sh +++ b/scripts/cnode-helper-scripts/guild-deploy.sh @@ -110,6 +110,7 @@ set_defaults() { [[ "${SUDO}" = 'Y' ]] && sudo="sudo" || sudo="" [[ "${SUDO}" = 'Y' && $(id -u) -eq 0 ]] && err_exit "Please run as non-root user." [[ -z "${CARDANO_NODE_VERSION}" ]] && CARDANO_NODE_VERSION="$(curl -sfk "https://raw.githubusercontent.com/${G_ACCOUNT}/guild-operators/${BRANCH}/files/docker/node/release-versions/cardano-node-latest.txt")" + [[ -z ${MITHRIL_HOME} ]] && MITHRIL_HOME="${CNODE_HOME}/mithril" CNODE_HOME="${CNODE_PATH}/${CNODE_NAME}" CNODE_VNAME=$(echo "$CNODE_NAME" | awk '{print toupper($0)}') REPO="https://github.com/${G_ACCOUNT}/guild-operators"