aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2015-08-01 09:58:21 +0000
committerErwin Lansing <erwin@FreeBSD.org>2015-08-01 09:58:21 +0000
commit53695d99c44c5469bb068ee9b712774241b1efe2 (patch)
tree9a77d83a65592e720b6c0c55bf371f1ef6d1333e
parent267d9634a8ff91f4af7f1a8827cbb6aa8beab16d (diff)
downloadports-53695d99c44c5469bb068ee9b712774241b1efe2.tar.gz
ports-53695d99c44c5469bb068ee9b712774241b1efe2.zip
Notes
-rwxr-xr-xTools/scripts/tindex8
1 files changed, 2 insertions, 6 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 2819282def3e..6da6f1d2254e 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -31,7 +31,6 @@ SCP_DEST_DIR=/usr/local/www/ports/
# Location of ports tree and source trees
export BASEDIR=/a/tindex
export PORTSDIR=${BASEDIR}/ports
-export SRCDIR8=${BASEDIR}/src.8
export SRCDIR9=${BASEDIR}/src.9
export SRCDIR10=${BASEDIR}/src.10
export SRCDIR11=${BASEDIR}/src.11
@@ -130,9 +129,6 @@ export INDEX_JOBS=3
export INDEX_QUIET=1
# First update the source trees to get current OSVERSION
-${SVN} -q up ${SRCDIR8}/sys/sys
-OSVERSION8=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR8}/sys/sys/param.h)
-
${SVN} -q up ${SRCDIR9}/sys/sys
OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9}/sys/sys/param.h)
@@ -143,7 +139,7 @@ ${SVN} -q up ${SRCDIR11}/sys/sys
OSVERSION11=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR11}/sys/sys/param.h)
cd ${PORTSDIR}
-rm -f INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 INDEX-10 INDEX-10.bz2 INDEX-11 INDEX-11.bz2
+rm -f INDEX-9 INDEX-9.bz2 INDEX-10 INDEX-10.bz2 INDEX-11 INDEX-11.bz2
(${SVN} up 2>1 ) > svn.log
if grep -q ^C svn.log ; then
(echo "svn update failed with conflicts:";
@@ -151,7 +147,7 @@ if grep -q ^C svn.log ; then
exit 1
fi
-for branch in 8.x 9.x 10.x 11.x; do
+for branch in 9.x 10.x 11.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}