1999-11-11 10:59:37 +00:00
|
|
|
@echo off
|
|
|
|
rem Zip up a patch file
|
2000-07-15 19:51:35 +00:00
|
|
|
set src=d:\wx2\wxWindows
|
1999-11-30 10:07:03 +00:00
|
|
|
set dest=%wxwin\deliver
|
1999-11-11 10:59:37 +00:00
|
|
|
|
|
|
|
Rem Set this to the required patch version
|
2000-07-15 19:51:35 +00:00
|
|
|
set version=01
|
1999-11-11 10:59:37 +00:00
|
|
|
|
|
|
|
if "%src" == "" goto usage
|
|
|
|
if "%dest" == "" goto usage
|
|
|
|
echo About to archive patch%version%.zip
|
|
|
|
echo From %src
|
|
|
|
echo To %dest
|
|
|
|
if "%wise" == "1" echo with WISE setup creation.
|
|
|
|
echo CTRL-C if this is not correct.
|
|
|
|
pause
|
|
|
|
|
|
|
|
erase %dest\patch*.zip
|
|
|
|
|
|
|
|
cd %src
|
|
|
|
echo Zipping...
|
|
|
|
|
1999-11-30 10:07:03 +00:00
|
|
|
zip32 -@ %dest\patch%version%.zip < %wxwin\distrib\msw\patch.rsp
|
1999-11-11 10:59:37 +00:00
|
|
|
echo wxWindows patch archived.
|
|
|
|
|
|
|
|
cd %dest
|
|
|
|
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:usage
|
|
|
|
echo DOS wxWindows patch distribution.
|
|
|
|
echo.
|
|
|
|
echo Usage: zippatch
|
|
|
|
|
|
|
|
:end
|