From 9d14bace69090679e74df6bc64b360e373743ce3 Mon Sep 17 00:00:00 2001 From: Andrew Bird Date: Sat, 13 Jul 2024 18:44:15 +0100 Subject: [PATCH] Build: Use revised echoto batch file from kernel This allows the build to succeed on MS-DOS 6.22 where a subshell's environment isn't big enough. Patich shamelessly copied from https://github.com/FDOS/kernel/commit/d6c50ebbe6. --- scripts/echoto.bat | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/scripts/echoto.bat b/scripts/echoto.bat index 9e228e3b..2607a23e 100644 --- a/scripts/echoto.bat +++ b/scripts/echoto.bat @@ -1,15 +1,2 @@ @echo off -set FILE=%1 -set STR=%2 -if "%STR%" == "" goto end_of_script - -:loop -shift -if "%2" == "" goto end -set STR=%STR% %2 -goto loop -:end - -echo %STR%>> %FILE% -:end_of_script - +echo %2 %3 %4 %5 %6 %7 %8 %9 >>%1