diff options
author | kris <kris@FreeBSD.org> | 2003-01-24 12:55:15 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-01-24 12:55:15 +0800 |
commit | 283256d7f3efb2ce1ae7e4149315b594c12113dc (patch) | |
tree | 938946595f1fb46ea2452573f7c80daccae957c0 | |
parent | 284c3ebac28b378f31830e8245b8161799b2f1f0 (diff) | |
download | freebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.gz freebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.zst freebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.zip |
Determine client architecture using /etc/arch
-rwxr-xr-x | Tools/portbuild/scripts/reportload.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/reportload.sh b/Tools/portbuild/scripts/reportload.sh index 5516e71d3a8a..ea4a90d71e41 100755 --- a/Tools/portbuild/scripts/reportload.sh +++ b/Tools/portbuild/scripts/reportload.sh @@ -6,12 +6,10 @@ if [ "$1" != "start" ]; then exit; fi pb=/var/portbuild +arch=$(cat /etc/arch) s=$pb/scripts/reportload -echo -n ' chroot' -rm -rf $pb/*/chroot/* - if [ -x $s ]; then - $s & + $s ${arch} & echo -n ' reportload' fi |