From cf8c465896a8ca1827cfa7c4e80f6cb447baa560 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 24 Apr 2018 14:00:42 +0200 Subject: [PATCH] Revert "Add to existing channels if CONDA_CHANNELS is preset" This reverts commit 86e346df2edbaad366d2cee266e6100411dfd657. --- gitlab/functions.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gitlab/functions.sh b/gitlab/functions.sh index 68e209f..c43c0eb 100644 --- a/gitlab/functions.sh +++ b/gitlab/functions.sh @@ -355,11 +355,7 @@ install_miniconda() { # $2: typically, the value of ${CI_COMMIT_TAG} or empty # given the current visibility/tagging conditions of the package. set_conda_channels() { - if [ -z "${CONDA_CHANNELS+abc}" ]; then - CONDA_CHANNELS=() #sets bash array - else - log_info "Appending to existing \$\{CONDA_CHANNELS\} setup..." - fi + CONDA_CHANNELS=() #resets bash array if [ "${1}" == "public" ]; then if [ -z "${2}" ]; then #public beta build CONDA_CHANNELS+=('public/conda/label/beta') -- GitLab