summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-11-25 15:51:02 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-11-25 15:51:02 +0000
commit2830a3d3df868ab8f5a0e12ba68e59745aa4a918 (patch)
treee9a1d34a80be3115026aaecc3bf5e8b9d243080c
parent- Disable browser plugin for now to unbreak port. [1] (diff)
Work around the fact that 5-exp, these days, is really another 6-exp,
except in disguise.
-rwxr-xr-xTools/portbuild/scripts/dopackagestats4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/dopackagestats b/Tools/portbuild/scripts/dopackagestats
index 9e2f1c9f145f..c37778170c37 100755
--- a/Tools/portbuild/scripts/dopackagestats
+++ b/Tools/portbuild/scripts/dopackagestats
@@ -58,6 +58,10 @@ write_row () {
else
indexfile=$directory/ports/INDEX-$branch
fi
+ # work around the fact that 5-exp is really 6-exp-prime
+ if [ ! -f $indexfile ]; then
+ indexfile=$directory/ports/`cd $directory/ports&&ls INDEX* | head -1`
+ fi
# column: date of CVS checkout
cvsdone="&nbsp;"