Skip to content

Commit c862dc8

Browse files
committed
scripts: template_setup_win: Fix toolchain list loading
`!` must be used instead of `%` inside a loop when referencing a variable that is changed within the loop. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
1 parent 6e4bc28 commit c862dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/template_setup_win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exit /b 0
2626
REM # Initialise toolchain list
2727
set TOOLCHAINS=
2828
for /f %%t in (sdk_toolchains) do (
29-
set TOOLCHAINS=%TOOLCHAINS% %%t
29+
set TOOLCHAINS=!TOOLCHAINS! %%t
3030
)
3131

3232
REM Initialise list of toolchains to install

0 commit comments

Comments
 (0)