From 6b597c6b95ea4d6a5b4474d4c76a6021951aa105 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Mon, 13 Mar 2017 10:08:55 +0100
Subject: [PATCH] Override python version with value from cmdline

---
 install/from-scratch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/from-scratch.sh b/install/from-scratch.sh
index 4c07110..ac4cfab 100755
--- a/install/from-scratch.sh
+++ b/install/from-scratch.sh
@@ -23,6 +23,6 @@ if [ -d ${BASEDIR}/envs/${NAME} ]; then
 fi
 
 echo "[>>] Creating environment ${NAME} for python ${PYTHON_VERSION} with bob dependencies..."
-${CONDA} env create -n ${NAME} --file=bob-devel.yml
+${CONDA} env create -n ${NAME} --file=bob-devel.yml python=${PYTHON_VERSION}
 echo "[>>] Bye!"
 exit 0
-- 
GitLab