From 1de78520e3535e38e111d6007d10576f05b376d9 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Sat, 4 Feb 2017 19:33:26 +0100
Subject: [PATCH] Fix CI installation script

---
 install/install-ci.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/install/install-ci.sh b/install/install-ci.sh
index e6ba964..8a7455f 100755
--- a/install/install-ci.sh
+++ b/install/install-ci.sh
@@ -8,18 +8,18 @@ if [ "${#}" != 1 ]; then
 fi
 
 BASEDIR=$1
-CURDIR=`pwd`
+BINDIR=$(dirname $0)
 CONDA=${BASEDIR}/bin/conda
 
 echo "[>>] Cleaning conda cache..."
 ${CONDA} clean --all --yes
 
 echo "[>>] Updating conda and conda-build..."
-${CONDA} update -n root conda conda-build --yes
+${CONDA} install -n root conda conda-build --yes
 
 for k in 2.7 3.4 3.5; do
   py=`echo $k | sed -e 's/\.//'`
   e="bob-devel-py$py"
   echo "[>>] Installing CI environment $e using python-$k..."
-  ${CURDIR}/from-scratch.sh ${BASEDIR} $e $k
+  ${BINDIR}/from-scratch.sh ${BASEDIR} $e $k
 done
-- 
GitLab