]> sbz's 6dev Repos - freebsd-maintainer-scripts/.git/blame - check-distfile.sh
add check-distfile script to report distfiles issues while fetching
[freebsd-maintainer-scripts/.git] / check-distfile.sh
CommitLineData
c76634e6
SB
1#!/bin/sh
2
3svnbase="/home/sbz/svn/ports"
4
5[ ! -f /usr/local/bin/distilator ] && pkg install -y distilator
6
7ports=$(make -C "${svnbase}" search key="sbz@FreeBSD.org" \
8 display=path|grep -v ^$|awk '{print $2}')
9
10for origin in ${ports};
11do
12 (cd ${origin}; echo "Port: ${origin}"; distilator; echo) | tee -a /tmp/myport-distfile.log
13done