Uppercase for env var LAUNCH_SCRIPT

This commit is contained in:
Andrew Savchyn
2022-09-30 11:44:08 +02:00
committed by AUTOMATIC1111
parent fcfe2e9ffd
commit d18daafb8b
2 changed files with 4 additions and 4 deletions

View File

@@ -41,9 +41,9 @@ then
venv_dir="venv"
fi
if [[ -z "${launch_script}" ]]
if [[ -z "${LAUNCH_SCRIPT}" ]]
then
launch_script="launch.py"
LAUNCH_SCRIPT="launch.py"
fi
# Disable sentry logging
@@ -138,4 +138,4 @@ fi
printf "\n%s\n" "${delimiter}"
printf "Launching launch.py..."
printf "\n%s\n" "${delimiter}"
"${python_cmd}" "${launch_script}"
"${python_cmd}" "${LAUNCH_SCRIPT}"