Re: [edk2] [Patch] edksetup.bat: make sure BASE_TOOLS_PATH be set correctly

2016-10-25 Thread Zhu, Yonghong
Reviewed-by: Yonghong Zhu  

Best Regards,
Zhu Yonghong


-Original Message-
From: Gao, Liming 
Sent: Wednesday, October 26, 2016 11:32 AM
To: edk2-devel@lists.01.org
Cc: Zhu, Yonghong 
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 
---
 edksetup.bat | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/edksetup.bat b/edksetup.bat index 6c8c0aa..7aa1675 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.8.0.windows.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] [Patch] edksetup.bat: make sure BASE_TOOLS_PATH be set correctly

2016-10-25 Thread Liming Gao
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 
---
 edksetup.bat | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/edksetup.bat b/edksetup.bat
index 6c8c0aa..7aa1675 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.8.0.windows.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel