Evaluation of fish shell script through the source-sh modulefile command fails with latest fish version (3.5).
$ fish --version
fish, version 3.5.0
$ module --version
Modules Release 5.1.1 (2022-05-31)
$ module use testsuite/modulefiles.2
$ cat testsuite/modulefiles.2/source-sh/7.2
#%Module
source-sh fish testsuite/example/sh-to-mod.fish
module-whatis [module-info name]
$ module load source-sh/7.2
Loading source-sh/7.2
Module ERROR: Script 'testsuite/example/sh-to-mod.fish' exited abnormally
while executing
"source-sh fish testsuite/example/sh-to-mod.fish"
(file "/path/to/modules/testsuite/modulefiles.2/source-sh/7.2" line 2)
Please contact <root@localhost>
Issue also impacts sh-to-mod sub-command:
$ module sh-to-mod fish testsuite/example/sh-to-mod.fish
ERROR: Script 'testsuite/example/sh-to-mod.fish' exited abnormally
Evaluation of fish shell script through the
source-shmodulefile command fails with latest fish version (3.5).Issue also impacts
sh-to-modsub-command: