]>
Commit | Line | Data |
---|---|---|
1c6fb09f JS |
1 | @echo off |
2 | rem Zip up a patch file | |
f6bcfd97 | 3 | set src=d:\wx2\wxWindows |
6b8b0e7c | 4 | set dest=%wxwin\deliver |
1c6fb09f JS |
5 | |
6 | Rem Set this to the required patch version | |
f6bcfd97 | 7 | set version=01 |
1c6fb09f JS |
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 | ||
6b8b0e7c | 23 | zip32 -@ %dest\patch%version%.zip < %wxwin\distrib\msw\patch.rsp |
1c6fb09f JS |
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 |