#!/bin/bash

if [ "$1" == "--help" ]; then
	echo "missing source files"
	exit 1
fi

if [ "$1" == "--download" ]; then
	export download="y"
	shift
fi
startdir=..

find $startdir/source -maxdepth 5 -name FrugalBuild -print0 | xargs -0 -n 1 -P 16 ./srccheck.sh
