This tool manages the contents of BaseTools/Bin/<platform>
by tracking which BaseTools binaries have been installed,
and prompting the user to update their BaseTools when
required.

If the BaseToolsBins detects an issue, it prints instructions
for the user, and exits with an error value. We abort
toolsetup.bat environment configuration in this case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
---
 toolsetup.bat | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/toolsetup.bat b/toolsetup.bat
index 2afa810..2609385 100755
--- a/toolsetup.bat
+++ b/toolsetup.bat
@@ -124,6 +124,11 @@ if /I "%1"=="/?" goto Usage
   echo Resetting the PATH variable to include the EDK_TOOLS_PATH for this 
session.
 
 :PATH_ok
+  echo Running BaseToolsBins
+  %EDK_TOOLS_PATH%\Bin\Win32\BaseToolsBins.exe
+  if ERRORLEVEL 1 goto end
+
+:BaseToolsBins_ok
   echo           PATH      = %PATH%
   echo.
   if defined WORKSPACE (
-- 
1.9.2


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
edk2-buildtools-devel mailing list
edk2-buildtools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel

Reply via email to