view admin/nt/dump.bat @ 53947:8f3f4ab62a69

Work correctly if CVSROOT specifies :fork: or :local: methods, or omits the colon between the hostname and the path. Allow :/ in repository path, since CVS does. Fix typo: "pository" should be set from $CVSROOT, not $repository. This fixes a bug reported by Wolfgang Scherer in <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>, along with some related bugs I discovered by inspecting how CVS itself parses $CVSROOT.
author Paul Eggert <eggert@twinsun.com>
date Sun, 15 Feb 2004 07:41:58 +0000
parents 695cf19ef79e
children 4ff1d1caeb96 375f2633d815
line wrap: on
line source

@echo off
rem  Run temacs.exe to recreate the dumped emacs.exe.
rem  This is only likely to be useful on systems where the prebuilt
rem  emacs.exe crashes on startup.

rem First save original emacs.exe if present
if exist emacs.exe.orig goto dump
echo Saving original emacs.exe as emacs.exe.orig
ren emacs.exe emacs.exe.orig

:dump
rem Overwrites emacs.exe if still present
mkdir ..\lib-src
copy fns* ..\lib-src
mkdir obj
mkdir obj\i386
mkdir obj\etc
copy ..\etc\DOC* obj\etc
copy temacs.exe obj\i386
obj\i386\temacs -batch -l loadup dump
copy obj\i386\emacs.exe .

goto skipArchTag
   arch-tag: 0ca3036d-3a1e-47ea-87c6-9c0845253496
:skipArchTag