From c6a72dd96ec7586ee43d34e6c7bbc1b64df5f81a Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Mon, 12 Feb 2024 08:30:43 +0100 Subject: [PATCH] doc: desc. bash-eval and --ignore in MIGRATING --- .hunspell.en.dic | 2 ++ MIGRATING.rst | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/.hunspell.en.dic b/.hunspell.en.dic index 6469f825c..0f8c646e4 100644 --- a/.hunspell.en.dic +++ b/.hunspell.en.dic @@ -39,6 +39,7 @@ DesignSync Deveaud Diekhans Dimitri +EOF EPEL EnvModEscPS EnvModEscS @@ -362,6 +363,7 @@ devel di dictionarily dir +dirname dirs dirsym dirwsym diff --git a/MIGRATING.rst b/MIGRATING.rst index 743a79cb2..a058a75c3 100644 --- a/MIGRATING.rst +++ b/MIGRATING.rst @@ -316,6 +316,73 @@ conflicts rather the generic conflict module specification. :sgrer:`ERROR`: Module cannot be loaded due to a conflict. HINT: Might try "module unload foo/1" first. +New options for source-sh modulefile command +-------------------------------------------- + +Support for new *shell* mode named ``bash-eval`` is added to +:mfcmd:`source-sh` modulefile command. With this new mode, the generated +output of the bash shell script is evaluated to get the environment changes +instead of sourcing this script. + + .. parsed-literal:: + + :ps:`$` cat /path/to/modulefiles/foo/foo-output.sh + #!/bin/bash + cat <