94b770ad20
interest in reviving ia64. While here, generalize things a bit.
18 lines
375 B
Bash
Executable file
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
|