#!@SH@
# $NetBSD: build-client-start,v 1.1.1.1 2007/06/19 19:49:59 joerg Exp $

. @PBULK_CONFIG@

set -e

if [ "${config_version}" != "@PBULK_CONFIG_VERSION@" ]; then
	echo "Your configuration has version ${config_version}."
	echo "This version of pbulk expects version @PBULK_CONFIG_VERSION@."
	exit 1
fi

for client in ${build_clients}; do
	ssh $client "${pbuild} -c ${master_port_build} -b ${pbuild_script}" &
done
