Skip to content

Commit

Permalink
use . instead of source which is not available in all shells
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed May 25, 2022
1 parent 640f471 commit f0a2848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CIME/XML/env_mach_specific.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down

0 comments on commit f0a2848

Please sign in to comment.