diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2021-06-13 06:43:01 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-25 07:15:40 +0300 |
commit | 17143c4837393d42c484b42d1789b85b2cff1aaf (patch) | |
tree | 98ffd19118864a532c47d3a68387e27e5a3c68c7 /BaseTools/Source/Python/Workspace/DecBuildData.py | |
parent | f0a3f6d9c30bf0926959a23c1454053a9df5ae9d (diff) | |
download | edk2-17143c4837393d42c484b42d1789b85b2cff1aaf.tar.xz |
BaseTools: Reset ERRORLEVEL in toolsetup.bat after edk2basetools check
When using the in-source BaseTools, edksetup.bat will exit with an
ERRORLEVEL of 1 because the line in toolsetup.bat
"%PYTHON_COMMAND% -c "import edk2basetools" >NUL 2>NUL"
fails.
Ensure ERRORLEVEL is set to 0 when edksetup.bat or toolsetup.bat is
successfully run.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
0 files changed, 0 insertions, 0 deletions