aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-11-25 23:51:02 +0800
committerlinimon <linimon@FreeBSD.org>2006-11-25 23:51:02 +0800
commita24cb3acdd374dfa5dac417ae874939dd0ab7c30 (patch)
treedc4e1fe80bc26fabc59653eb8c46aec4035e6cf7 /Tools
parent72425bbc7c94b51952e38dce14cd1342ec105dc8 (diff)
downloadfreebsd-ports-gnome-a24cb3acdd374dfa5dac417ae874939dd0ab7c30.tar.gz
freebsd-ports-gnome-a24cb3acdd374dfa5dac417ae874939dd0ab7c30.tar.zst
freebsd-ports-gnome-a24cb3acdd374dfa5dac417ae874939dd0ab7c30.zip
Work around the fact that 5-exp, these days, is really another 6-exp,
except in disguise.
Diffstat (limited to 'Tools')
-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;"