diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-10-22 11:04:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 11:04:17 -0400 |
commit | 7729d546d2dbda85ca1d86a913e97b51487355ba (patch) | |
tree | e9a0e7f9f2069ecd9e718dd66d3e11fa7a80722d /src/cli/stasis/stasis_main.c | |
parent | 8edc87d51900ccf7d1d67ad3647a4b8fa2d9b7ae (diff) | |
parent | 30f48145d1a1c747c40f94e2a7314d4bdf61cf55 (diff) | |
download | stasis-7729d546d2dbda85ca1d86a913e97b51487355ba.tar.gz |
Merge pull request #63 from jhunkeler/update-tests
Update tests / Bug fixes
Diffstat (limited to 'src/cli/stasis/stasis_main.c')
-rw-r--r-- | src/cli/stasis/stasis_main.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/cli/stasis/stasis_main.c b/src/cli/stasis/stasis_main.c index 5325892..c2443d7 100644 --- a/src/cli/stasis/stasis_main.c +++ b/src/cli/stasis/stasis_main.c @@ -332,14 +332,15 @@ int main(int argc, char *argv[]) { exit(1); } - delivery_gather_tool_versions(&ctx); - if (!ctx.conda.tool_version) { - msg(STASIS_MSG_ERROR | STASIS_MSG_L2, "Could not determine conda version\n"); - exit(1); - } - if (!ctx.conda.tool_build_version) { - msg(STASIS_MSG_ERROR | STASIS_MSG_L2, "Could not determine conda-build version\n"); - exit(1); + if (delivery_gather_tool_versions(&ctx)) { + if (!ctx.conda.tool_version) { + msg(STASIS_MSG_ERROR | STASIS_MSG_L2, "Could not determine conda version\n"); + exit(1); + } + if (!ctx.conda.tool_build_version) { + msg(STASIS_MSG_ERROR | STASIS_MSG_L2, "Could not determine conda-build version\n"); + exit(1); + } } if (pip_exec("install build")) { |