diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-10-28 09:24:52 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-11-02 09:49:04 +0800 |
commit | 18ca2fec97010e8a79407ec092539218c04ee1c5 (patch) | |
tree | fadd57225c3f95bd6c8aea61cca187959033e239 /BaseTools/Source/Python/Common/Misc.py | |
parent | 2a6402d490a2da818b7650ffe0330d3020e5b020 (diff) | |
download | edk2-platforms-18ca2fec97010e8a79407ec092539218c04ee1c5.tar.xz |
BaseTools: Fix a bug for ExpandMacros to support mixed case ENV var
os.environ contains all environment variables uppercase on Windows which
cause the key in the self.MacroDictionary is uppercase, but the real
variable name maybe mixed case, eg:WINSDK81x86, then we can't find the
variable in the self.MacroDictionary.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Misc.py')
0 files changed, 0 insertions, 0 deletions