blob: b770b9b7ed88d4e19de26cc5bcd42092c778072a [file] [log] [blame]
david_williamsb1a981c2007-10-23 19:55:06 +00001#!/bin/sh
david_williams334e8902007-11-05 04:39:42 +00002
3
4. mainparams.shsource
5
6. copyAndRemove.sh
7
david_williams278986c2007-11-01 22:37:42 +00008echo;
9echo "Remember, this script should NOT be ran on the production ";
10echo "machine, during the real move. It is for testing only, ";
11echo "when using snapshots.";
12echo;
david_williamsb1a981c2007-10-23 19:55:06 +000013
david_williams9826bfe2007-11-05 00:58:00 +000014snapshot=/home/davidw/files/snapshots/webtools-cvs-5.tgz
david_williams278986c2007-11-01 22:37:42 +000015
david_williams334e8902007-11-05 04:39:42 +000016mkdir -p ${topdir}/${reponame}
17rm -fr ${topdir}/${reponame}
18cvs --no-verify -d ${topdir}/${reponame} init
david_williamsb1a981c2007-10-23 19:55:06 +000019
david_williams278986c2007-11-01 22:37:42 +000020echo " Current snapshot: $snapshot";
21echo;
david_williams334e8902007-11-05 04:39:42 +000022tar zxf $snapshot -C ${topdir}
david_williamsb1a981c2007-10-23 19:55:06 +000023
24
25
26