Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-04-14 06:38:38 +0000
committershtrom <shtrom@1991c358-8f32-0410-a49a-990740bdf4c2>2009-04-14 06:38:38 +0000
commit1f751cbcf7cb4da5245f7f98cd4833e27b6f1ec3 (patch)
tree42c40ecbf8995a1d71226e9c34f657310517ae49 /openbsd
parent54ad9b53c537b82b0ac14f96c499cfe256a85e1d (diff)
[OpenBSD scripts] Automatically determine version to be used when pulling
matching Ports tag. git-svn-id: svn+ssh://scm.narf.ssji.net/svn/shtrom/scripts@515 1991c358-8f32-0410-a49a-990740bdf4c2
Diffstat (limited to 'openbsd')
-rwxr-xr-xopenbsd/updateports.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd/updateports.sh b/openbsd/updateports.sh
index 168c023..42debf6 100755
--- a/openbsd/updateports.sh
+++ b/openbsd/updateports.sh
@@ -1,5 +1,6 @@
#!/usr/local/bin/bash
# $Id$
export CVSROOT=anoncvs@anoncvs.de.openbsd.org:/cvs
+VERSION=`uname -r`
cd /usr
-cvs -z9 get -rOPENBSD_4_3 -P ports
+cvs -z9 get -rOPENBSD_${VERSION/./_} -P ports