]> sbz's 6dev Repos - freebsd-maintainer-scripts/.git/blob - check-distfile.sh
add check-distfile script to report distfiles issues while fetching
[freebsd-maintainer-scripts/.git] / check-distfile.sh
1 #!/bin/sh
2
3 svnbase="/home/sbz/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