From e1cc9015d714f2552ba03500323e9e32b2b5bf65 Mon Sep 17 00:00:00 2001 From: erwin Date: Tue, 14 Dec 2010 14:16:37 +0000 Subject: Drop support for FreeBSD 6.x. --- Tools/scripts/tindex | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex index ff8335fdbd95..9d48f2a73c8a 100755 --- a/Tools/scripts/tindex +++ b/Tools/scripts/tindex @@ -33,7 +33,6 @@ ZFSCMD="/usr/local/bin/sudo /sbin/zfs" # Location of ports tree and source trees export BASEDIR=/local0/tmp/kris/tindex export PORTSDIR=${BASEDIR}/ports -export SRCDIR6=${BASEDIR}/src.6 export SRCDIR7=${BASEDIR}/src.7 export SRCDIR8=${BASEDIR}/src.8 export SRCDIR9=${BASEDIR}/src.9 @@ -164,10 +163,6 @@ export INDEX_JOBS=4 export INDEX_QUIET=1 # First update the source trees to get current OSVERSION -cd ${SRCDIR6}/sys/sys -cvs -Rq update -PdA -r RELENG_6 param.h -OSVERSION6=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR6}/sys/sys/param.h) - cd ${SRCDIR7}/sys/sys cvs -Rq update -PdA -r RELENG_7 param.h OSVERSION7=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR7}/sys/sys/param.h) @@ -182,9 +177,9 @@ OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9 cd ${PORTSDIR} -rm -f INDEX-6 INDEX-6.bz2 INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 +rm -f INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 -for branch in 6.x 7.x 8.x 9.x; do +for branch in 7.x 8.x 9.x; do release=$(echo $branch | sed -e 's,.x,,') eval _osver=\$OSVERSION${release} -- cgit