From 4ab9d7aebbfa0a7269653ac0eaaa4023c8737ce3 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 11 Oct 2024 19:03:10 +0530 Subject: [PATCH] Expose the CONDA_BASEPATH env variable --- scripts/on_sd_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index a6e4ad5e..189e125a 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -12,7 +12,7 @@ cp sd-ui-files/scripts/webui_console.py scripts/ source ./scripts/functions.sh # activate the installer env -CONDA_BASEPATH=$(conda info --base) +export CONDA_BASEPATH=$(conda info --base) source "$CONDA_BASEPATH/etc/profile.d/conda.sh" # avoids the 'shell not initialized' error conda activate || fail "Failed to activate conda"