Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 720 - (show annotations)
Sun Oct 4 15:09:24 2009 UTC (3 years, 7 months ago) by cjg
File size: 371 byte(s)
importing opt
1 #!/bin/sh
2 #
3 # /etc/ports/drivers/cvs: cvs(1) driver script for ports(8)
4 #
5
6 if [ "$#" != "1" ]; then
7 echo "usage: $0 <file>"
8 exit 1
9 fi
10
11 source $1
12 echo "Connected to ${SERVER}"
13 echo "Updating collection ${SERVER_DIR}"
14 cd ${LOCAL_PATH} && cvs \
15 -q -d ${SERVER} co -P -d ${LOCAL_DIR} -r ${TAG} ${SERVER_PATH}/${SERVER_DIR} && \
16 echo "Finished successfully"
17
18 # End of file