aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-22 09:48:06 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-22 09:48:06 +0000
commitd60fdf6e096558d52edfb8e5f066003c91ddbe0e (patch)
tree1fb582c53e8a32f874d9b541061f0c6c42de2c3e /Tools
parente70ea327d3d0a41b35c3a76c5f0abedb06ea03c9 (diff)
downloadports-d60fdf6e096558d52edfb8e5f066003c91ddbe0e.tar.gz
ports-d60fdf6e096558d52edfb8e5f066003c91ddbe0e.zip
Update tindex for FreeBSD 14
Notes
Notes: svn path=/head/; revision=562285
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/tindex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 5aaf71cce95a..9fe704f159e6 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -30,6 +30,7 @@ export PORTSDIR=${BASEDIR}/ports
export SRCDIR11=${BASEDIR}/src.11
export SRCDIR12=${BASEDIR}/src.12
export SRCDIR13=${BASEDIR}/src.13
+export SRCDIR14=${BASEDIR}/src.14
export OUTDIR=${BASEDIR}/out
# Target architecture if not set in the environment
@@ -125,8 +126,11 @@ OSVERSION12=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR
${GIT} -C ${SRCDIR13} pull --rebase -q
OSVERSION13=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR13}/sys/sys/param.h)
+${GIT} -C ${SRCDIR14} pull --rebase -q
+OSVERSION14=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR14}/sys/sys/param.h)
+
cd ${PORTSDIR}
-rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2
+rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2
(${SVN} up 2>1 ) > svn.log
if grep -q ^C svn.log ; then
(echo "svn update failed with conflicts:";
@@ -134,7 +138,7 @@ if grep -q ^C svn.log ; then
exit 1
fi
-for branch in 11.x 12.x 13.x; do
+for branch in 11.x 12.x 13.x 14.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}