From 4e908975c645bedd40ac77497d42629ef3cf9fc5 Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Wed, 26 Oct 2016 11:31:52 +0800 Subject: [PATCH] edksetup.bat: make sure BASE_TOOLS_PATH be set correctly Move checkNt32Flag before set BASE_TOOLS_PATH env to make sure it be set Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Reviewed-by: Yonghong Zhu --- edksetup.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edksetup.bat b/edksetup.bat index 6c8c0aa97f..7aa167549b 100755 --- a/edksetup.bat +++ b/edksetup.bat @@ -77,9 +77,10 @@ if not defined EDK_TOOLS_PATH ( ) ) ) -if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH% :checkNt32Flag +if exist %EDK_TOOLS_PATH%\Source set BASE_TOOLS_PATH=%EDK_TOOLS_PATH% + @REM The Nt32 Emluation Platform requires Microsoft Libraries @REM and headers to interface with Windows. if /I "%1"=="--nt32" ( -- 2.39.2