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