From d18edc22cf13198372318571ac33eb42cbd6034c Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Fri, 30 Jan 2026 12:16:31 -0500 Subject: [PATCH] v12: [SCM setup] Expose env var to allow pipeline for non-standard SITE --- scm_setup | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scm_setup b/scm_setup index 01ee4655..8eb059b3 100755 --- a/scm_setup +++ b/scm_setup @@ -97,6 +97,9 @@ usage () echo " Optional argument: " echo " --num_levels: number of levels (default: 181; 72, 71, 91, 132, 137, and 181 allowed)." echo + echo " Optional env vars: " + echo " When running on the TBC data, you can set TINYBCS_PATH to point to the dataset or you can answer the prompt." + echo echo } @@ -408,7 +411,9 @@ case $SITE in echo "Unknown site $SITE detected." # 1. Prompt the user for the TinyBCs installation path - read -p "Please enter the full path to your TinyBCs installation: " TINYBCS_PATH + if [[ ! -d "$TINYBCS_PATH" ]]; then + read -p "Please enter the full path to your TinyBCs installation: " TINYBCS_PATH + fi # 2. Verify the path exists and is a directory if [[ ! -d "$TINYBCS_PATH" ]]; then