diff --git a/cvscreate.sh b/cvscreate.sh index f6b487f..7c35f89 100755 --- a/cvscreate.sh +++ b/cvscreate.sh @@ -1,9 +1,25 @@ #!/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 @@ -11,10 +27,17 @@ 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.'