Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
blob: 591976bfb900f01548f706cfb9f61683593aa113 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/local/bin/bash
# $Id$
export CVSROOT=anoncvs@anoncvs.fr.openbsd.org:/cvs
VERSION=`uname -r`
if [ -d /usr/ports ]; then
	cd /usr/ports
	cvs -z9 up -rOPENBSD_${VERSION/./_}
else
	cd /usr
	cvs -z9 get -rOPENBSD_${VERSION/./_} -P ports
fi