poudriere-runner: add more options, use types hints and cleanup
[freebsd-maintainer-scripts/.git] / check-distfile.sh
1 #!/bin/sh
2
3 svnbase="${HOME}/svn/ports"
4
5 [ ! -f /usr/local/bin/distilator ] && pkg install -y distilator
6
7 ports=$(make -C "${svnbase}" search key="sbz@FreeBSD.org" \
8     display=path|grep -v ^$|awk '{print $2}')
9
10 for origin in ${ports};
11 do
12     (cd ${origin}; echo "Port: ${origin}"; distilator; echo) | tee -a /tmp/myport-distfile.log
13 done