~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
cvs/emstar/make/migrate-repository.sh


  1 #!/bin/sh
  2 
  3 # Converts a checked out repo from using the 'cens' to 'emstar' name
  4 
  5 # $Id: migrate-repository.sh,v 1.2 2003-09-26 19:00:10 jelson Exp $
  6 
  7 echo
  8 echo **MIGRATING FROM THE CENS TO EMSTAR NAME**
  9 echo
 10 echo -n "You are in directory: "
 11 pwd
 12 echo This script should be run from the ROOT of your repository.
 13 echo -n "Return to go ahead, Ctrl-C to chicken out> "
 14 read
 15 echo
 16 echo This is your last chance before I start messing with your
 17 echo CVS/Repository files.  Are you sure?
 18 echo -n "Return to go ahead, Ctrl-C to chicken out> "
 19 read
 20 echo
 21 echo OK, here we go... 
 22 for i in `find . -name Repository -print`; do
 23     echo $i
 24     sed s/^cens/emstar/ < $i > $i.new
 25     rm $i
 26     mv $i.new $i
 27 done
 28 echo "Done."
 29 
 30 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.