wxWidgets/distrib/msw/zippatch.bat
Julian Smart 9ed42c2d63 Patch mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 23:32:48 +00:00

43 lines
786 B
Batchfile
Executable File

@echo off
rem Zip up a patch file
if "%wxwin%" == "" goto usage
set src=%wxwin%
set dest=%src%\deliver
Rem Set this to the required wxWindows version
set wxversion=2.3.2
Rem Set this to the required patch version
set version=01
set patchname=wxWindows-%wxversion%-patch-%version%.zip
if "%src" == "" goto usage
if "%dest" == "" goto usage
echo About to create %dest%\%patchname%
echo From %src
echo To %dest
echo CTRL-C if this is not correct.
pause
erase /Q /E %dest%\wxWindows-*-patch*.zip
cd %src%
echo Zipping...
zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
echo wxWindows patch archived.
cd %dest
goto end
:usage
echo wxWindows patch distribution.
echo.
echo Usage: zippatch
echo You must set WXWIN appropriately before calling this script.
:end