From f9dac0244f42d0fc857c6152418f813cfff5f6bc Mon Sep 17 00:00:00 2001 From: Travis Hathaway Date: Wed, 1 Nov 2023 12:02:11 +0100 Subject: [PATCH] making the check for missing anaconda executable a little broader --- conda_build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_build/build.py b/conda_build/build.py index 1d66cf114f..4268aaef65 100644 --- a/conda_build/build.py +++ b/conda_build/build.py @@ -4099,7 +4099,7 @@ def handle_anaconda_upload(paths, config): print(no_upload_message) return - if anaconda is None: + if not anaconda: print(no_upload_message) sys.exit( "Error: cannot locate anaconda command (required for upload)\n"