diff options
author | kris <kris@FreeBSD.org> | 2003-01-24 04:55:15 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-01-24 04:55:15 +0000 |
commit | 283256d7f3efb2ce1ae7e4149315b594c12113dc (patch) | |
tree | 938946595f1fb46ea2452573f7c80daccae957c0 /Tools/portbuild | |
parent | 284c3ebac28b378f31830e8245b8161799b2f1f0 (diff) | |
download | FreeBSD-ports-283256d7f3efb2ce1ae7e4149315b594c12113dc.zip FreeBSD-ports-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.gz |
Determine client architecture using /etc/arch
Diffstat (limited to 'Tools/portbuild')
-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 5516e71..ea4a90d 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 |