From 656c623624349ec19e2ac52536e482d415f2492d Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 22 Sep 2017 12:37:16 +0200
Subject: [PATCH] check for conda executable

---
 gitlab/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 8c353b7..644f8cf 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -335,7 +335,7 @@ if [ -z "${CONDA_FOLDER}" ]; then
 fi
 
 # check if a conda installation exists. Otherwise, install one:
-if [ ! -e ${CONDA_FOLDER} ]; then
+if [ ! -e ${CONDA_FOLDER}/bin/conda ]; then
   install_miniconda ${CONDA_FOLDER}
 fi
 
-- 
GitLab