Factored out organization name for ease of maintenance.
General cleanup and commenting throughout.
1 parent 4cd23a3 commit 424d48cc69cc68d858b4b88533cd215d016e54a3
@tundra tundra authored on 24 May 2012
Showing 1 changed file
View
56
cvscreate.sh
#!/bin/sh
# cvscreate.sh - Create And Checkin A New CVS Project
# Copyright (c) 2012 TundraWare Inc,, Des Plaines, IL USA
# $Id: cvscreate.sh,v 1.100 2012/05/23 23:56:36 tundra Exp $
# $Id: cvscreate.sh,v 1.101 2012/05/24 13:31:51 tundra Exp $
 
# Assumes that the containing directory name is the name of the project
#####
# Constants And Literals
#####
 
# Organization Name
 
ORGNAME="TundraWare"
 
# Assumes that the containing directory name is the name
# of the project
 
PROJNAME=`basename $PWD`
echo $PROJNAME
 
#####
# Process Command Line
#####
 
if [ $# != 1 ]
then
echo "usage: cvscreate.sh 'Description of project'"
exit 1
fi
 
PROJNAME=`basename $PWD`
echo $PROJNAME
#####
# Create The Project
#####
 
cvs import -m "$1" $PROJNAME TundraWare start
cvs import -m "$1" $PROJNAME $ORGNAME start
 
 
#####
# Initialize The Revision Number
#####
 
cvs co $PROJNAME
cd $PROJNAME
cvs commit -r1.100 -m 'Initial CVS checkin to initialize version number.'