aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-10-25 04:29:06 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-10-25 04:29:06 +0000
commitfb5e730f91f97ac544d900ee6c70a016edc4f2ba (patch)
treebd78bd02ea41b531eafb8dc4384b8ea3e7697a95 /Tools
parente12c61e3af4c8c65aeb47e4819b1435b710c23f0 (diff)
downloadports-fb5e730f91f97ac544d900ee6c70a016edc4f2ba.tar.gz
ports-fb5e730f91f97ac544d900ee6c70a016edc4f2ba.zip
Use the absolute path to nc(1) to deal with it not being in the PATH.
Remove useless sleep(1).
Notes
Notes: svn path=/head/; revision=120103
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/checkmachines4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/checkmachines b/Tools/portbuild/scripts/checkmachines
index 8ec988a8631e..7f32bac93128 100755
--- a/Tools/portbuild/scripts/checkmachines
+++ b/Tools/portbuild/scripts/checkmachines
@@ -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"