X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fc1a7137cccc829a34b3527c768db7d7ac83437..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/ogl/distrib/zipogl.bat?ds=inline diff --git a/utils/ogl/distrib/zipogl.bat b/utils/ogl/distrib/zipogl.bat index 05c58347cf..51ee8b37fc 100755 --- a/utils/ogl/distrib/zipogl.bat +++ b/utils/ogl/distrib/zipogl.bat @@ -1,17 +1,21 @@ @echo off rem Zip up an external distribution of OGL +set src=d:\wx2\wxWindows +set dest=%src\utils\ogl\deliver -if "%1" == "" goto usage -if "%2" == "" goto usage +if "%src" == "" goto usage +if "%dest" == "" goto usage echo About to archive an external OGL distribution: -echo From %1 -echo To %2\ogl.zip +echo From %src +echo To %dest\ogl3.zip echo CTRL-C if this is not correct. inkey /W4 `Press any key to continue...` %%input -erase %2\ogl.zip -cd %1 -zip -P %3 %4 %5 %6 %7 %8 %2\ogl.zip @%1\distrib\ogl.rsp +erase %dest\ogl3.zip +cd %src +zip32 -@ %dest\ogl3.zip < %src\utils\ogl\distrib\ogl.rsp + +cd %dest echo OGL archived. goto end @@ -19,7 +23,7 @@ goto end :usage echo DOS OGL distribution. echo Usage: zipogl source destination -echo e.g. zipogl c:\wx\utils\ogl c:\wx\utils\ogl\deliver +echo e.g. zipogl d:\wx2\wxWindows d:\wx2\wxWindows\utils\ogl\deliver :end