diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 22:37:22 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 22:37:22 +0000 |
commit | db2201b8f655dd7bc7a0729512d23193d2998bdc (patch) | |
tree | 4218b844bbf2dbeb4338aca1609bf1253eb1c911 /Tools | |
parent | 0147d90a3be42cb10f207646f648f4a66a525020 (diff) | |
download | ports-db2201b8f655dd7bc7a0729512d23193d2998bdc.tar.gz ports-db2201b8f655dd7bc7a0729512d23193d2998bdc.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/allgohans | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/allgohans b/Tools/portbuild/scripts/allgohans index 391a8a60bc12..2caa379809a6 100755 --- a/Tools/portbuild/scripts/allgohans +++ b/Tools/portbuild/scripts/allgohans @@ -14,10 +14,14 @@ doarch() { machines=$(awk '{print $1}' ${pb}/${arch}/mlist) for i in ${machines}; do + . ${pb}/${arch}/portbuild.conf + if [ -f "${pb}/${arch}/portbuild.${i}" ]; then + . ${pb}/${arch}/portbuild.${i} + fi if [ ${quiet} -eq 0 ]; then echo "[$i]" fi - su ports-${arch} -c "ssh root@$i $@" + su ports-${arch} -c "ssh ${client_user}@$i ${sudo_cmd} $@" done } |