File:  [mozdev] / protozilla / ipc / new_ipc.csh
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Jul 6 06:28:28 2002 UTC (17 years, 5 months ago) by saravn
Branches: MAIN
CVS tags: ipc-1-0-3, ipc-1-0-2, ipc-1-0-1, ipc-1-0-0-branch-for-mozilla-trunk, ipc-1-0-0-2, ipc-1-0-0-1, ipc-1-0-0, ipc-0-99-63, HEAD
Code cleanup

#!/bin/csh

if ($# != 2) then
  echo 'Usage: new_ipc.csh <old-version> <new-version>'
  exit -1
endif

set files = (build/Makefile.in build/install.js build/nsIPCModule.h)

echo "IPC: $1 --> $2? (y/n)"

set confirm=$<

if (($confirm != "y") && ($confirm != "Y")) then
  echo "Cancelled"
  exit -1
endif

echo globsub Version $1 $2 build/ipc.spec
globsub Version $1 $2 build/ipc.spec

echo globsub $1 $1 $2 $files
globsub $1 $1 $2 $files

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>