From 9106f31a120dd7010a07d3c60e4ec4f902024f29 Mon Sep 17 00:00:00 2001 From: Lou Amadio Date: Tue, 14 Aug 2018 11:52:04 -0700 Subject: [PATCH] Fix environment expansion bug When TOOLSROOT=C:\Program Files (x86)\Windows Kits\10 This expands to C:\Program Files (x86)\Windows Kits\10tools\bin\i386 which obviously is not right. --- Tools/setenv.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/setenv.cmd b/Tools/setenv.cmd index bf00aba5..83b6e60d 100644 --- a/Tools/setenv.cmd +++ b/Tools/setenv.cmd @@ -43,10 +43,10 @@ if defined WDKContentRoot ( ) REM Environment configurations -set PATH=%TOOLSROOT%tools\bin\i386;%PATH% +set PATH=%TOOLSROOT%\tools\bin\i386;%PATH% set AKROOT=%KITSROOT% set WPDKCONTENTROOT=%TOOLSROOT% -set PKG_CONFIG_XML=%TOOLSROOT%Tools\bin\i386\pkggen.cfg.xml +set PKG_CONFIG_XML=%TOOLSROOT%\Tools\bin\i386\pkggen.cfg.xml set WINPE_ROOT=%KITSROOT%Assessment and Deployment Kit\Windows Preinstallation Environment if /I [%1] == [x64] ( set BSP_ARCH=amd64)