Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: gd_on on October 26, 2019, 04:50:34 pm

Title: update.bat problem in Spellchecker
Post by: gd_on on October 26, 2019, 04:50:34 pm
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 :
Code: [Select]
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
Title: Re: update.bat problem in Spellchecker
Post by: oBFusCATed on October 26, 2019, 07:39:21 pm
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...
Title: Re: update.bat problem in Spellchecker
Post by: Miguel Gimenez on October 27, 2019, 10:49:57 am
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.