aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-10-25 12:29:06 +0800
committerkris <kris@FreeBSD.org>2004-10-25 12:29:06 +0800
commit685046bfcaf9f2d305e04f49566b176ce99f163b (patch)
tree67d10aeb1b7dec056ac586c44b135cd8ae765e5b
parentf42341260383759fdaab0fae409315168c6fb86b (diff)
downloadfreebsd-ports-gnome-685046bfcaf9f2d305e04f49566b176ce99f163b.tar.gz
freebsd-ports-gnome-685046bfcaf9f2d305e04f49566b176ce99f163b.tar.zst
freebsd-ports-gnome-685046bfcaf9f2d305e04f49566b176ce99f163b.zip
Use the absolute path to nc(1) to deal with it not being in the PATH.
Remove useless sleep(1).
-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"