Skip to content

Commit

Permalink
Fix environment expansion bug
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ooeygui committed Aug 14, 2018
1 parent a9660c5 commit 9106f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/setenv.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9106f31

Please sign in to comment.