aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2013-03-07 14:19:12 +0000
committerErwin Lansing <erwin@FreeBSD.org>2013-03-07 14:19:12 +0000
commit15492abcf3ec920180d1eed89d62c2789ad5f7e6 (patch)
treec66b5f27d2644f7a96b9cdd05c18dc9d855a974c /Tools
parent3be79f6bf1558b6895c02952e41aa82c8dfea54c (diff)
downloadports-15492abcf3ec920180d1eed89d62c2789ad5f7e6.tar.gz
ports-15492abcf3ec920180d1eed89d62c2789ad5f7e6.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/tindex8
1 files changed, 2 insertions, 6 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 6933bde5fc92..2311583c4e4f 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 SRCDIR7=${BASEDIR}/src.7
export SRCDIR8=${BASEDIR}/src.8
export SRCDIR9=${BASEDIR}/src.9
export SRCDIR10=${BASEDIR}/src.10
@@ -130,9 +129,6 @@ export INDEX_JOBS=3
export INDEX_QUIET=1
# First update the source trees to get current OSVERSION
-${SVN} -q up ${SRCDIR7}/sys/sys
-OSVERSION7=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR7}/sys/sys/param.h)
-
${SVN} -q up ${SRCDIR8}/sys/sys
OSVERSION8=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR8}/sys/sys/param.h)
@@ -144,7 +140,7 @@ OSVERSION10=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR
cd ${PORTSDIR}
-rm -f INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 INDEX-10 INDEX-10.bz2
+rm -f INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 INDEX-10 INDEX-10.bz2
(${SVN} up 2>1 ) > svn.log
if grep -q ^C svn.log ; then
(echo "svn update failed with conflicts:";
@@ -152,7 +148,7 @@ if grep -q ^C svn.log ; then
exit 1
fi
-for branch in 7.x 8.x 9.x 10.x; do
+for branch in 8.x 9.x 10.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}