Skip to content

Commit

Permalink
hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunther Klessinger committed Sep 4, 2023
1 parent bbc0f49 commit 575aef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ helper_funcs () {
function activate_venv {
# must be set in environ:
local conda_env="$(conda_root)/envs/${PROJECT}_py${pyver}"
test -e "$conda_env" || { nfo "No $conda_env"; echo -e "Run$M \nmake ci-conda-py-env$O"; return 1; }
test -e "$conda_env" || { nfo "No $conda_env"; echo -e "Hint:${M}make ci-conda-py-env$O\n"; return 1; }
test -z "$CONDA_SHLVL" && { micromamba activate || return 1; }
test "$CONDA_PREFIX" = "${conda_env:-x}" && return 0
while [ -n "$CONDA_PREFIX" ]; do micromamba deactivate; done
Expand Down

0 comments on commit 575aef1

Please sign in to comment.