Skip to content
Snippets Groups Projects
Commit 30de063e authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Only download yaml if not available

parent 0939ac01
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,10 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then ...@@ -24,8 +24,10 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
fi fi
fi fi
echo "[>>] Downloading latest bob-devel.yml environment..." if [ ! -e "${YML}" ]; then
curl -o ${YML} https://gitlab.idiap.ch/bob/bob/raw/master/doc/${YML} echo "[>>] Downloading latest bob-devel.yml environment..."
curl -o ${YML} https://gitlab.idiap.ch/bob/bob/raw/master/doc/${YML}
fi
echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..." echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..."
${CONDA} env create --name=${NAME} --file=${YML} python=${PYTHON_VERSION} ${CONDA} env create --name=${NAME} --file=${YML} python=${PYTHON_VERSION}
......
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