-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
Description
In my .bashrc, I have:
zopen-config --override-zos-tools
It is declaring at least one bash function that is escaping (you can check with typeset -f):
displayHelp ()
{
echo "usage: . zopen-config [--eknv] [--knv] [--quiet] [-?|--help]";
echo " --override-zos-tools Adds altbin/ dir to the PATH and altman/ dir to MANPATH, overriding the native z/OS tooling.";
echo " --nooverride-zos-tools Does not add altbin/ and altman/ dir to PATH and MANPATH.";
echo " --override-zos-tools-subset=<file>";
echo " Override a subset of zos tools. Containing a subset of packages to override, delimited by newlines.";
echo " --knv Display zopen environment variables ";
echo " --eknv Display zopen environment variables, prefixed with an";
echo " 'export ' keyword for use in scripts";
echo " --quiet Do not display messages";
echo " -?, --help Display this help"
}
There is also sanitizeEnvVar and deleteDuplicateEntries, and those might be coming from zopen scripts as well...
Severity
Sev 4 - Low
Expected Behavior
These bash functions should not be in the environment after running zopen-config.
Actual Behavior
No response
z/OS Version
No response
zopen package manager version
No response
Additional Information (Optional)
No response
Network or Security Configuration (Optional)
No response