aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-24 12:55:15 +0800
committerkris <kris@FreeBSD.org>2003-01-24 12:55:15 +0800
commit283256d7f3efb2ce1ae7e4149315b594c12113dc (patch)
tree938946595f1fb46ea2452573f7c80daccae957c0
parent284c3ebac28b378f31830e8245b8161799b2f1f0 (diff)
downloadfreebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.gz
freebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.zst
freebsd-ports-gnome-283256d7f3efb2ce1ae7e4149315b594c12113dc.zip
Determine client architecture using /etc/arch
-rwxr-xr-xTools/portbuild/scripts/reportload.sh6
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