Fixed quotation bug

This commit is contained in:
Anon 2024-03-09 18:50:18 -08:00
parent 9ca3d463f6
commit adc2c9678b

4
run.sh
View File

@ -21,8 +21,8 @@ ABS_PATH="$(readlink -f "$0")"
RUN_DIR="$(dirname "$ABS_PATH")"
# Relative paths to the virtual environment and main.py
VENV='${RUN_DIR}/venv/bin/activate'
ENTRY='${RUN_DIR}/create_app.py'
VENV="${RUN_DIR}/venv/bin/activate"
ENTRY="${RUN_DIR}/create_app.py"
# cd into the bot's root path, set up the virtual environment, and run
[ ! -f "$VENV" ] && echo "Virtual environment not found: ${VENV}" && cd - > /dev/null && exit 1