From 43320aa8d1443c3ca3b95185544ae27817ba71b6 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 15 Aug 2016 09:41:01 -0400 Subject: [PATCH] Conda explicitly checks for .sh in the command as a part of it's logic to figure out that the shell is sh or bash compatible. --- lib/galaxy/tools/deps/conda_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/deps/conda_util.py b/lib/galaxy/tools/deps/conda_util.py index da18710f3f9..a89148b3999 100644 --- a/lib/galaxy/tools/deps/conda_util.py +++ b/lib/galaxy/tools/deps/conda_util.py @@ -260,7 +260,7 @@ def hash_conda_packages(conda_packages, conda_target=None): # these commands as Python def install_conda(conda_context=None): conda_context = _ensure_conda_context(conda_context) - f, script_path = tempfile.mkstemp(suffix=".bash", prefix="conda_install") + f, script_path = tempfile.mkstemp(suffix=".sh", prefix="conda_install") os.close(f) download_cmd = " ".join(commands.download_command(conda_link(), to=script_path, quote_url=True)) install_cmd = "bash '%s' -b -p '%s'" % (script_path, conda_context.conda_prefix)