diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-11 16:04:29 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-11-11 16:04:29 -0500 |
commit | 0febd2dd08d5d89435a66a41ec8336f5986cce01 (patch) | |
tree | 77063f35121e279afcbca0f086862ce9f692c5e4 | |
parent | 2c0b70aa52a96156f70e895c4113620c7de12e27 (diff) | |
download | stasis-0febd2dd08d5d89435a66a41ec8336f5986cce01.tar.gz |
Again with the syntax issues on macos
-rw-r--r-- | src/lib/core/conda.c | 4 |
1 files changed, 3 insertions, 1 deletions
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" |