From f0a284813b80a6a26fb27919debc980c9cdb49cb Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 25 May 2022 14:26:09 -0600 Subject: [PATCH] use . instead of source which is not available in all shells --- CIME/XML/env_mach_specific.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CIME/XML/env_mach_specific.py b/CIME/XML/env_mach_specific.py index 6f89a54522b..aaa8a6b936a 100644 --- a/CIME/XML/env_mach_specific.py +++ b/CIME/XML/env_mach_specific.py @@ -184,7 +184,7 @@ def list_modules(self): # setup script if it exists. init_path = self.get_module_system_init_path("sh") if init_path: - source_cmd = "source {} && ".format(init_path) + source_cmd = ". {} && ".format(init_path) else: source_cmd = ""