#!/bin/sh | |
. mainparams.shsource | |
. copyAndRemove.sh | |
echo; | |
echo "Remember, this script should NOT be ran on the production "; | |
echo "machine, during the real move. It is for testing only, "; | |
echo "when using snapshots."; | |
echo; | |
snapshot=/home/davidw/files/snapshots/webtools-cvs-5.tgz | |
mkdir -p ${topdir}/${reponame} | |
rm -fr ${topdir}/${reponame} | |
cvs --no-verify -d ${topdir}/${reponame} init | |
echo " Current snapshot: $snapshot"; | |
echo; | |
tar zxf $snapshot -C ${topdir} | |