2 rem Zip up a patch file
4 if "%wxwin%" == "" goto usage
9 Rem Set this to the required wxWidgets version
11 Rem Set this to the required patch version
14 set patchname=wxWidgets-%wxversion%-patch-%version%.zip
16 if "%src" == "" goto usage
17 if "%dest" == "" goto usage
18 echo About to create %dest%\%patchname%
21 echo CTRL-C if this is not correct.
24 erase /Q /E %dest%\wxWidgets-*-patch*.zip
29 zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
30 echo wxWidgets patch archived.
37 echo wxWidgets patch distribution.
40 echo You must set WXWIN appropriately before calling this script.