aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2013-10-13 11:16:48 +0000
committerErwin Lansing <erwin@FreeBSD.org>2013-10-13 11:16:48 +0000
commit5c1760757ae036c2dbb29c6368413addaeac1e6c (patch)
treee1b4cd71ad088a7723baa6e0b3f6cd178ece888e /Tools
parentf0e6c159f9477034718f418cdda00bac45aa249e (diff)
downloadports-5c1760757ae036c2dbb29c6368413addaeac1e6c.tar.gz
ports-5c1760757ae036c2dbb29c6368413addaeac1e6c.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/tindex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 2311583c4e4f..2819282def3e 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -34,6 +34,7 @@ export PORTSDIR=${BASEDIR}/ports
export SRCDIR8=${BASEDIR}/src.8
export SRCDIR9=${BASEDIR}/src.9
export SRCDIR10=${BASEDIR}/src.10
+export SRCDIR11=${BASEDIR}/src.11
# Target architecture if not set in the environment
if [ "${ARCH}" = "" ]; then
@@ -138,9 +139,11 @@ OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9
${SVN} -q up ${SRCDIR10}/sys/sys
OSVERSION10=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR10}/sys/sys/param.h)
+${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
+rm -f INDEX-8 INDEX-8.bz2 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:";
@@ -148,7 +151,7 @@ if grep -q ^C svn.log ; then
exit 1
fi
-for branch in 8.x 9.x 10.x; do
+for branch in 8.x 9.x 10.x 11.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}