From: Earnie <ea...@us...> - 2015-02-25 22:57:18
|
> From: Roger Mitchell > Hello, > > I am trying to use the bash shell supplied with MinGW/MSYS, but I'm finding that > often environment variables (e.g. red_something) are translated to > their upper > case equivalent (i.e. RED_SOMETHING). We have binary executables that > are called from the shell that require the variables to be defined in > lower case (a > hangover from UNIX days). > > I notice that CYGWIN allows the user to set a flag "nouppercase_env" > for the > CYGWIN to control this behaviour. Is there an equivalent flag that can > be used > with MinGW/MSYS? > You could create a script to create the lower case version and remove the upper case version. Then source that script from your ~/.profile file. -- Earnie |