diff options
author | Yunhua Feng <yunhuax.feng@intel.com> | 2018-08-07 09:35:33 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-08-08 08:44:22 +0800 |
commit | 40d1adb3ebf215bacf89d866fd72bfad897daec3 (patch) | |
tree | c146d7f18f463f98c61daf46c53bb42c055af4a4 /BaseTools/Source/Python | |
parent | b6e48ec6412eab0f21fdff5a045a7ee516574d44 (diff) | |
download | edk2-40d1adb3ebf215bacf89d866fd72bfad897daec3.tar.gz edk2-40d1adb3ebf215bacf89d866fd72bfad897daec3.tar.bz2 edk2-40d1adb3ebf215bacf89d866fd72bfad897daec3.zip |
BaseTools: Fix incorrect %EDK_TOOLS_PATH%
For non-root folder, such as "X:\test", the EDK_TOOLS_PATH will
resolve to "X:\test\edk2\BaseTools". This is OK.
But if WORKSPACE is at a root folder, such as "X:\", the EDK_TOOLS_PATH
will look like "X:\\BaseTools". The *double backslash* can fail the command
like "del" and thus affect the %ERRORLEVEL% variable, which may break
subsequent build processing.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions