Fixed quotation bug
This commit is contained in:
parent
9ca3d463f6
commit
adc2c9678b
4
run.sh
4
run.sh
@ -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…
Reference in New Issue
Block a user