From 663074ad04d9205b311505873e2c29319584c7cb Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 10 Jan 2019 10:36:17 +0100 Subject: [PATCH] [ci] Fix deployment bootstrapping --- ci/bootstrap.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/bootstrap.sh b/ci/bootstrap.sh index 21e3901e..a24bd0ca 100755 --- a/ci/bootstrap.sh +++ b/ci/bootstrap.sh @@ -139,7 +139,12 @@ cat ${CONDARC} if [ "${1}" == "build" ]; then run_cmd ${CONDA_ROOT}/bin/conda install -n base python conda=4 conda-build=3 elif [ "${1}" == "local" ]; then - run_cmd ${CONDA_ROOT}/bin/conda create -n "${2}" ${CONDA_ROOT}/conda-bld/${OS_SLUG}/bob.devtools-*.tar.bz2 + if [ "$(uname -s)" == "Linux" ]; then + _os="linux-64" + else + _os="osx-64" + fi + run_cmd ${CONDA_ROOT}/bin/conda create -n "${2}" ${CONDA_ROOT}/conda-bld/${_os}/bob.devtools-*.tar.bz2 elif [ "${1}" == "beta" ] || [ "${1}" == "stable" ]; then run_cmd ${CONDA_ROOT}/bin/conda create -n "${2}" bob.devtools else -- GitLab