aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-27 07:40:13 +0800
committerasami <asami@FreeBSD.org>2000-09-27 07:40:13 +0800
commit1182ba9d29985209c092da8e11681a3174674d46 (patch)
tree81500f8b2a17bfa5c11a20c1fd84f588f9837699 /Tools/portbuild
parentea6e1bb9fc9a76bdd7955f63901e2364f2cc898c (diff)
downloadfreebsd-ports-gnome-1182ba9d29985209c092da8e11681a3174674d46.tar.gz
freebsd-ports-gnome-1182ba9d29985209c092da8e11681a3174674d46.tar.zst
freebsd-ports-gnome-1182ba9d29985209c092da8e11681a3174674d46.zip
Add -t and -n flags to ssh. (-t flag suggested by: ps)
This seems to fix a lot of the hang problems to bump up the timeout from 5 hours to 12 hours.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/pdispatch8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch
index 1bb396d6df2d..c642e6fd2738 100755
--- a/Tools/portbuild/scripts/pdispatch
+++ b/Tools/portbuild/scripts/pdispatch
@@ -1,7 +1,7 @@
#!/bin/sh
-# wait 5 hours maximum
-timeout=18000
+# wait 12 hours maximum
+timeout=43200
branch=$1
command=$2
@@ -36,5 +36,5 @@ fi
if [ "x$NODUMMY" != "x" ]; then
flags="${flags} -nodummy"
fi
-echo "dispatching: ssh -a $1 ${command} ${branch} $flags $args"
-${buildroot}/scripts/ptimeout $timeout ssh -a $1 ${command} ${branch} ${flags} $args
+echo "dispatching: ssh -a -t -n $1 ${command} ${branch} $flags $args at $(date)"
+${buildroot}/scripts/ptimeout $timeout ssh -a -t -n $1 ${command} ${branch} ${flags} $args