1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Use the absolute path to nc(1) to deal with it not being in the PATH.

Remove useless sleep(1).
This commit is contained in:
Kris Kennaway 2004-10-25 04:29:06 +00:00
parent e12c61e3af
commit fb5e730f91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120103

View File

@ -20,8 +20,6 @@ buildroot=/var/portbuild
arches=$*
sleep 60
while true; do
for i in ${arches}; do
mlist=${buildroot}/${i}/mlist
@ -33,7 +31,7 @@ while true; do
while [ $# -gt 1 ]; do
m=$1
l=$2
if (nc -w 5 $m infoseek > ${buildroot}/${i}/loads/$m < /dev/null); then
if (/usr/local/bin/nc -w 5 $m infoseek > ${buildroot}/${i}/loads/$m < /dev/null); then
num=$(awk '{print $1}' ${buildroot}/${i}/loads/$m)
if [ "x$num" = "x" ]; then
# logger "checkmachines: file ${buildroot}/${i}/loads/$m is empty"