diff options
author | kris <kris@FreeBSD.org> | 2007-07-30 03:45:43 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2007-07-30 03:45:43 +0800 |
commit | e1c62e3c43f7cccee30b23c34ab7bb0874863022 (patch) | |
tree | 7260f8afd2e75348465e9ff8a0409e5f96d8cab6 /Tools/portbuild | |
parent | 480aa3a73c6a21cd73e7a0458812a6196863c83a (diff) | |
download | freebsd-ports-gnome-e1c62e3c43f7cccee30b23c34ab7bb0874863022.tar.gz freebsd-ports-gnome-e1c62e3c43f7cccee30b23c34ab7bb0874863022.tar.zst freebsd-ports-gnome-e1c62e3c43f7cccee30b23c34ab7bb0874863022.zip |
* Switch from netcat port to base system nc. Replace symbolic port name
by its numeric equivalent since nc(1) does not look up the former.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/pollmachine | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/pollmachine b/Tools/portbuild/scripts/pollmachine index ebacc2303f3d..f046abdfa139 100755 --- a/Tools/portbuild/scripts/pollmachine +++ b/Tools/portbuild/scripts/pollmachine @@ -10,7 +10,7 @@ else queue=0 fi -infoseek_port=infoseek +infoseek_port=414 . ${buildroot}/${i}/portbuild.conf if [ -f ${buildroot}/${i}/portbuild.${m} ]; then . ${buildroot}/${i}/portbuild.${m} @@ -18,7 +18,7 @@ fi if [ -z "${infoseek_host}" ]; then infoseek_host=$m fi -if (/usr/local/bin/nc -w 15 ${infoseek_host} ${infoseek_port} > ${buildroot}/${i}/loads/$m < /dev/null); then +if (/usr/bin/nc -w 15 ${infoseek_host} ${infoseek_port} > ${buildroot}/${i}/loads/$m < /dev/null); then if [ "${queue}" = 1 ]; then num=$(awk '{print $1}' ${buildroot}/${i}/loads/$m) if [ "$num" -lt "${maxjobs}" ]; then |