cvs.transvirutal.com

Date view Thread view Subject view Author view

From: Parmelan, Edouard (EP510777@exchange.FRANCE.NCR.com)
Date: Wed Jan 13 1999 - 05:18:21 EST


Hi Alexandre,

cvs.transvirtual.com: Non-existent host/domain
This may be due to server reboot ?

My work around is to use www.transvirtual.com
in place of cvs.transvirtual.com.

find -type d -name CVS -print | xargs switch-root.sh

------------------[ switch-root.sh ]-------------------
#! /sbin/sh

backup_it() {
  if [ -f $1/Root ] ; then
    if [ \! -f $1/Root.save ] ; then
      cp -p $1/Root $1/Root.save
    else
      return 0
    fi
  else
    return 1
  fi
}

change_it() {
  if backup_it $1; then
    sed -e 's/\<cvs\.transvirtual\.com\>/www.transvirtual.com/' $1/Root.save
> $1/Root
  fi
}

for dir in "$@"; do
  change_it $dir
done
------------------[ switch-root.sh ]-------------------

Edouard.

---


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:40 EDT