From 0febd2dd08d5d89435a66a41ec8336f5986cce01 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 11 Nov 2024 16:04:29 -0500 Subject: Again with the syntax issues on macos --- src/lib/core/conda.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c index 48ed6c4..adbc4c9 100644 --- a/src/lib/core/conda.c +++ b/src/lib/core/conda.c @@ -282,7 +282,9 @@ int conda_activate(const char *root, const char *env_name) { snprintf(command, sizeof(command) - 1, "set -a\n" "source %s\n" - "function __conda_exe (\n\t\"$CONDA_PYTHON_EXE\" \"$CONDA_EXE\" $_CE_M $_CE_CONDA \"$@\"\n)\n" + "__conda_exe() (\n" + " \"$CONDA_PYTHON_EXE\" \"$CONDA_EXE\" $_CE_M $_CE_CONDA \"$@\"\n" + ")\n\n" "source %s\n" "%s\n" "conda activate %s 1>&2\n" -- cgit