Fixed quotation bug

master
Anon 5 months ago
parent 9ca3d463f6
commit adc2c9678b

@ -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

Loading…
Cancel
Save