diff options
Diffstat (limited to 'Tools/portbuild/scripts/pollmachine')
-rwxr-xr-x | Tools/portbuild/scripts/pollmachine | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/pollmachine b/Tools/portbuild/scripts/pollmachine index 75cd9885ddee..6484bb37344c 100755 --- a/Tools/portbuild/scripts/pollmachine +++ b/Tools/portbuild/scripts/pollmachine @@ -10,12 +10,14 @@ else queue=0 fi -infoseek_host=$m infoseek_port=infoseek . ${buildroot}/${i}/portbuild.conf if [ -f ${buildroot}/${i}/portbuild.${m} ]; then . ${buildroot}/${i}/portbuild.${m} fi +if [ -z "${infoseek_host}" ]; then + infoseek_host=$m +fi if (/usr/local/bin/nc -w 5 ${infoseek_host} ${infoseek_port} > ${buildroot}/${i}/loads/$m < /dev/null); then if [ "${queue}" = 1 ]; then num=$(awk '{print $1}' ${buildroot}/${i}/loads/$m) |