News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

update.bat problem in Spellchecker

Started by gd_on, October 26, 2019, 04:50:34 PM

Previous topic - Next topic

gd_on

At line 23 in update.bat (in SpellChecker) it seems there is a problem : found in svn 11887 but may have been introduced in svn 11881)
For me xcopy stops copiing because it does not know if SpellChecker is a file or a directory.
For me it works if I add a \ at the end before the ", thus giving :

xcopy /D /Y "%CB_DEVEL_RESDIR%\SpellChecker\*" "%CB_OUTPUT_RESDIR%\SpellChecker\"


strangely, line 24 has not this problem ? Should be as line 17 with a \ at the end too ?

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

I've applied a patch. I've not tested it nor I can test this at the moment, so patches welcome.

BTW: This matters only when building spellchecker. The main update.bat script should work just fine...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Miguel Gimenez

Sorry, the patch worked but only if the output folder already existed (which was my case). I just added a patch to ticket 882 restoring xcopy calls.