diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:54:45 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:54:45 +0000 |
commit | 069c3c3e0f3ff92c5c547707da29fdbc828f62b4 (patch) | |
tree | 4fb9d7be9683f09ebeae51fa8953ea85054da845 /Tools | |
parent | Check status of multiple architecture client machines (diff) |
- Use ${arch}
- Support builds as non-privileged user
Notes
Notes:
svn path=/head/; revision=73916
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/reportload | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/reportload b/Tools/portbuild/scripts/reportload index 09cae20dd1e7..0044db5cc75c 100755 --- a/Tools/portbuild/scripts/reportload +++ b/Tools/portbuild/scripts/reportload @@ -6,8 +6,9 @@ # configurable variables pb=/var/portbuild +arch=$1 -. ${pb}/portbuild.conf +. ${pb}/${arch}/portbuild.conf me=$(hostname -s) tmpfile=${scratchdir}/${me} @@ -16,7 +17,7 @@ while true; do num=$(echo $(ls -1d ${scratchdir}/*/chroot/*/used 2>/dev/null| wc -l)) echo -n "$num " > ${tmpfile} uptime >> ${tmpfile} - scp -q ${tmpfile} $master:${pb}/loads/ + scp -q ${tmpfile} ${user}@${master}:${pb}/${arch}/loads/ rm -f ${tmpfile} sleep 5 done |