It is possible to source from another script. If the
sourcing script has any set positional parameters that are not supported
by, the help section is always shown. This patch updates
the help section informing the user about these possible unsupported set
positional parameters, so that, they can be unset prior to sourcing

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Arvind Prasanna <>

Changes in v3:
- Modify the help section to cover only unsupported positional parameters.
- Adapt commit message to the change in the above line

Changes in v2:
- Fixed a typo.
- Minor rewording.
--- | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ b/
index 93d6525..6a590df 100755
--- a/
+++ b/
@@ -42,6 +42,8 @@ function HelpMsg()
   echo Please note: This script must be \'sourced\' so the environment can be 
   echo ". $SCRIPTNAME"
   echo "source $SCRIPTNAME"
+  echo "If this script is being sourced from another script, the sourcing 
+  echo "should have no set positional parameters unsupported by this script."
 function SetWorkspace()

edk2-devel mailing list

Reply via email to