diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 12:54:45 +0800 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 12:54:45 +0800 |
commit | 069c3c3e0f3ff92c5c547707da29fdbc828f62b4 (patch) | |
tree | 4fb9d7be9683f09ebeae51fa8953ea85054da845 /Tools/portbuild | |
parent | 55e6f3bab5c18c11324a183373081b528558e0e8 (diff) | |
download | freebsd-ports-gnome-069c3c3e0f3ff92c5c547707da29fdbc828f62b4.tar.gz freebsd-ports-gnome-069c3c3e0f3ff92c5c547707da29fdbc828f62b4.tar.zst freebsd-ports-gnome-069c3c3e0f3ff92c5c547707da29fdbc828f62b4.zip |
- Use ${arch}
- Support builds as non-privileged user
Diffstat (limited to 'Tools/portbuild')
-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 |