aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2009-08-23 18:47:02 +0800
committererwin <erwin@FreeBSD.org>2009-08-23 18:47:02 +0800
commit3bee6087f3a7b3e4bf24e7c7b7ec67ded6a9c6d2 (patch)
treec6b53cd295df772da9e5fc03a46743d25bb2ed4a /Tools/scripts
parent35730fdc5cb32798df714e860e0276e442c70389 (diff)
downloadfreebsd-ports-gnome-3bee6087f3a7b3e4bf24e7c7b7ec67ded6a9c6d2.tar.gz
freebsd-ports-gnome-3bee6087f3a7b3e4bf24e7c7b7ec67ded6a9c6d2.tar.zst
freebsd-ports-gnome-3bee6087f3a7b3e4bf24e7c7b7ec67ded6a9c6d2.zip
Add support for INDEX-9
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/tindex11
1 files changed, 8 insertions, 3 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 585bf49e5be1..ff8335fdbd95 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -36,6 +36,7 @@ export PORTSDIR=${BASEDIR}/ports
export SRCDIR6=${BASEDIR}/src.6
export SRCDIR7=${BASEDIR}/src.7
export SRCDIR8=${BASEDIR}/src.8
+export SRCDIR9=${BASEDIR}/src.9
# Target architecture if not set in the environment
if [ "${ARCH}" = "" ]; then
@@ -172,14 +173,18 @@ cvs -Rq update -PdA -r RELENG_7 param.h
OSVERSION7=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR7}/sys/sys/param.h)
cd ${SRCDIR8}/sys/sys
-cvs -Rq update -PdA param.h
+cvs -Rq update -PdA -r RELENG_8 param.h
OSVERSION8=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR8}/sys/sys/param.h)
+cd ${SRCDIR9}/sys/sys
+cvs -Rq update -PdA param.h
+OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9}/sys/sys/param.h)
+
cd ${PORTSDIR}
-rm -f INDEX-6 INDEX-6.bz2 INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2
+rm -f INDEX-6 INDEX-6.bz2 INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2
-for branch in 6.x 7.x 8.x; do
+for branch in 6.x 7.x 8.x 9.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}