#!/bin/sh CVSROOT=":pserver:anonymous@cvs.energymech.net:/cvs" MECHDIR=`cd .. ; pwd` if [ ! -f $MECHDIR/mech.help ]; then echo "ERROR!" echo "cvsupdate can't seem to find an Energymech distribution in the" echo "parent directory. Make sure you change directory to 'contrib' and" echo "then run ./cvsupdate" exit fi if [ -f ~/.cvspass ]; then if ! grep -i $CVSROOT ~/.cvspass >/dev/null; then echo "$CVSROOT A" >>~./cvspass fi else echo "$CVSROOT A" >~/.cvspass fi WHICH=./which$$ cat > $WHICH <