freebsd-ports/Tools/portbuild/scripts/stats
Mark Linimon 94b770ad20 Reflect the fact that RELENG_9 has been created, and that there is some
interest in reviving ia64.  While here, generalize things a bit.
2009-08-23 10:32:15 +00:00

18 lines
375 B
Bash
Executable file

#!/bin/sh
SUPPORTED_ARCHS="amd64 i386 ia64 sparc64"
if [ $# -ne 1 ]; then
echo "usage: <branch>"
exit 1
fi
branch=$1
for i in ${SUPPORTED_ARCHS}; do
if [ -d /var/portbuild/$i/${branch}/builds/latest/packages/All ]; then
count=$(find /var/portbuild/$i/${branch}/builds/latest/packages/All -name \*.tbz -o -name \*.tgz |wc -l)
echo -n "$i: ${count} "
fi
done
echo