From 0910bd93722eec475bfd5204e91253c1590d7b81 Mon Sep 17 00:00:00 2001 From: Piotr Okrutny <314TeR@users.noreply.github.com> Date: Mon, 19 Oct 2026 23:00:51 +0200 Subject: [PATCH] buildall: name CMD-xx.COM after the FreeDOS LANG codes (PL, SV, SL, SR, UK, PB) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `buildall.bat` names the language builds with its own abbreviations (`PO` Polish, `SE` Swedish, `SI` Slovene, `Ser` Serbian, `UKR` Ukrainian, `PTR` Brazilian Portuguese), so the package contains e.g. `NLS\CMD-PO.COM`. Everything that picks the localized shell looks for `CMD-%LANG%.COM`: - `NLS\MAKECMD.BAT` in the FreeCOM package itself (`if exist cmd-%lang%.com ...`), - the FDI-x86 and FDI installers (`if not exist ...\CMD-%LANG%.COM goto NoCommand`). With `LANG=PL` (or SV, SL, SR, UK, PB) nothing matches and the English COMMAND.COM stays installed. This PR only renames those six entries to the FreeDOS language codes (as in fd-nls `LangCode.md`). The other names already match; `YUG` (yu437) has no FreeDOS language code and is left as is. `strings/pt.lng` is not built by `buildall.bat` at all (it is in `ci_build.sh`) — left unchanged. Found while testing the Polish Floppy Edition (T2610): the installer looked for `CMD-PL.COM` and the package had `CMD-PO.COM`. --- buildall.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildall.bat b/buildall.bat index 81de754a..1b1b3c3e 100644 --- a/buildall.bat +++ b/buildall.bat @@ -24,7 +24,7 @@ md %pkgdir%\SOURCE md %pkgdir%\SOURCE\FREECOM pushd . -set languages=NL Dutch ES Spanish DE German FI Finnish FR French IT Italian PO Polish PTR PT_BR RU Russian SE Swedish Ser Serbian SI Slovene TR Turkish UKR Ukr YUG YU437 EN English +set languages=NL Dutch ES Spanish DE German FI Finnish FR French IT Italian PL Polish PB PT_BR RU Russian SV Swedish SR Serbian SL Slovene TR Turkish UK Ukr YUG YU437 EN English set buildfile=%0 call %0 buildall padding %languages% ::for %%a in (Dutch Spanish German Finnish French Italian Polish PT_BR Russian Swedish Serbian Slovene Turkish Ukr YU437 English) DO %0 %%a