1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/Tools/portbuild/scripts/stats
2003-09-12 20:49:08 +00:00

18 lines
322 B
Bash
Executable File

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