diff --git a/install/install-ci.sh b/install/install-ci.sh index e6ba9645fb6e0806e414d6c0eb977adc0d24325e..8a7455f32e325dbf58829429ee6abc77bcf15f09 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