Move checkNt32Flag before set BASE_TOOLS_PATH env to make sure it be set
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
-if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%\r
+if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH%\r
+\r
@REM The Nt32 Emluation Platform requires Microsoft Libraries\r
@REM and headers to interface with Windows.\r
if /I "%1"=="--nt32" (\r
@REM The Nt32 Emluation Platform requires Microsoft Libraries\r
@REM and headers to interface with Windows.\r
if /I "%1"=="--nt32" (\r