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