maven 02/07/03 02:40:48
Modified: bin getsources.sh
Log:
The script asked for a password even if it stored it in the ~/.cvspass file. Fixed.
- smor
Revision Changes Path
1.2 +3 -3 maven/bin/getsources.sh
Index: getsources.sh
===================================================================
RCS file: /usr/local/cvs-repository/maven/bin/getsources.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- getsources.sh 3 Jul 2002 06:06:44 -0000 1.1
+++ getsources.sh 3 Jul 2002 07:40:48 -0000 1.2
@@ -22,20 +22,20 @@
# If the <connection/> tag is not defined, do nothing
if [ ! $CONNECTION == "" ]
then
- echo $CONNECTION
+ #echo $CONNECTION
CVSROOT=:`echo $CONNECTION | cut -d : -f '3 4 5 '`
MODULE=`echo $CONNECTION | cut -d : -f 6`
echo CVSROOT $CVSROOT - MODULE : $MODULE - PASSWORD : $PASSWORD
- echo Getting $project\'s source !
if [ ! -e $CVSCO/$project ]
then
cd $BASEDIR/bin
ant -Dserver=$CVSROOT -Dpassword=$PASSWORD
+ echo Getting $project\'s source !
cd $CVSCO
- cvs -d $CVSROOT login $PASSWORD
cvs -d $CVSROOT co $MODULE
else
cd $CVSCO/$project
+ echo Updating $project\'s source !
cvs -Q update -d -P -A
fi
cd $BASEDIR
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>