Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Oct 1996 13:20:01 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Paul Richards <p.richards@elsevier.co.uk>
Cc:        Jake Hamby <jehamby@lightside.com>, current@FreeBSD.org
Subject:   Re: Wow, CVSup is cool! 
Message-ID:  <4295.844773601@critter.tfs.com>
In-Reply-To: Your message of "08 Oct 1996 11:31:27 BST." <57ohidg328.fsf@tees.elsevier.co.uk> 

index | next in thread | previous in thread | raw e-mail

In message <57ohidg328.fsf@tees.elsevier.co.uk>, Paul Richards writes:
>I switched from sup to ctm some time ago and ctm is more appropriate
>for my modem link but last night, after a mail gateway disaster, I was

This is what I do:

#!/bin/sh
set -e
cd /home/ncvs
set `cat .ctm_status`
old=foo
this=$2
while [ $old != $2 ] 
do
        next=`expr $this + 1`
        ( cd /tmp && 
                fetch -q ftp://freebsd.org/pub/CTM/cvs-cur/cvs-cur.${next}.gz)
        if [ -f /tmp/cvs-cur.*${next}.gz ] ; then
                ctm -v /tmp/cvs-cur.*${next}.gz
                mv /tmp/cvs-cur.*${next}.gz /home/CTM
                old=$this
                set `cat .ctm_status`
                this=$2
        else
                break
        fi
done


--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4295.844773601>