Skip to content
Snippets Groups Projects
Commit e2e4c303 authored by patmjen's avatar patmjen
Browse files

Add quotes around paths in init script

parent 2c7eceac
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,9 @@ fi
if [ ! -d "${VENV_DIR}/${VENV_NAME}" ]
then
echo INFO: Did not find virtualenv. Creating...
virtualenv ${VENV_DIR}/${VENV_NAME}
virtualenv "${VENV_DIR}/${VENV_NAME}"
fi
source ${VENV_DIR}/${VENV_NAME}/bin/activate
source "${VENV_DIR}/${VENV_NAME}/bin/activate"
# Select least used GPU if any are available
if command -v nvidia-smi &> /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment