]>
Commit | Line | Data |
---|---|---|
1c6fb09f JS |
1 | @echo off |
2 | rem Zip up a patch file | |
6b8b0e7c JS |
3 | Rem m:\wx2 contains the latest version + any crucial patches |
4 | set src=m:\wx2 | |
5 | set dest=%wxwin\deliver | |
1c6fb09f JS |
6 | set wise=0 |
7 | ||
8 | Rem Set this to the required patch version | |
6b8b0e7c | 9 | set version=03 |
1c6fb09f JS |
10 | |
11 | if "%src" == "" goto usage | |
12 | if "%dest" == "" goto usage | |
13 | echo About to archive patch%version%.zip | |
14 | echo From %src | |
15 | echo To %dest | |
16 | if "%wise" == "1" echo with WISE setup creation. | |
17 | echo CTRL-C if this is not correct. | |
18 | pause | |
19 | ||
20 | erase %dest\patch*.zip | |
21 | ||
22 | cd %src | |
23 | echo Zipping... | |
24 | ||
6b8b0e7c | 25 | zip32 -@ %dest\patch%version%.zip < %wxwin\distrib\msw\patch.rsp |
1c6fb09f JS |
26 | echo wxWindows patch archived. |
27 | ||
28 | cd %dest | |
29 | ||
30 | goto end | |
31 | ||
32 | :usage | |
33 | echo DOS wxWindows patch distribution. | |
34 | echo. | |
35 | echo Usage: zippatch | |
36 | ||
37 | :end |