From 4240b25c808136707ebaea1495693dfa2e199c5c Mon Sep 17 00:00:00 2001 From: ezsh <ezsh.junk@gmail.com> Date: Thu, 23 Jan 2020 22:04:48 +0100 Subject: [PATCH] Fix concatenation script to work with whitespaces in file names --- devTools/concatFiles.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devTools/concatFiles.bat b/devTools/concatFiles.bat index f603f7af186..cce8129af35 100644 --- a/devTools/concatFiles.bat +++ b/devTools/concatFiles.bat @@ -5,9 +5,9 @@ SET _LISTFILE="bin\list.txt" >%_LISTFILE% (FOR /R "%~1" %%F IN (%2) DO echo "%%F") sort /O %_LISTFILE% %_LISTFILE% ->%3 (FOR /F %%F IN ('type "%_LISTFILE%"') DO ( +>%3 (FOR /F "usebackq delims=" %%F IN (`type "%_LISTFILE%"`) DO ( echo /* %%F */ - type "%%F" + type %%F ) ) -- GitLab