Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scm_setup
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
Expand Down