Skip to content

Commit

Permalink
Build: Use revised echoto batch file from kernel
Browse files Browse the repository at this point in the history
This allows the build to succeed on MS-DOS 6.22 where a subshell's
environment isn't big enough. Patich shamelessly copied from
FDOS/kernel@d6c50ebbe6.
  • Loading branch information
andrewbird authored and PerditionC committed Jul 13, 2024
1 parent 9ec4779 commit a18fff4
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions scripts/echoto.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a18fff4

Please sign in to comment.