diff options
author | erwin <erwin@FreeBSD.org> | 2013-03-07 22:19:12 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2013-03-07 22:19:12 +0800 |
commit | 656238f4c4f171e9e07abb6f239ef2c7c2bfceb1 (patch) | |
tree | c66b5f27d2644f7a96b9cdd05c18dc9d855a974c /Tools | |
parent | e61201c27c5a65b44309f94db69331d491aaa6c7 (diff) | |
download | freebsd-ports-gnome-656238f4c4f171e9e07abb6f239ef2c7c2bfceb1.tar.gz freebsd-ports-gnome-656238f4c4f171e9e07abb6f239ef2c7c2bfceb1.tar.zst freebsd-ports-gnome-656238f4c4f171e9e07abb6f239ef2c7c2bfceb1.zip |
Remove support for FreeBSD 7.x
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/tindex | 8 |
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} |