summaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-24 04:55:15 +0000
committerkris <kris@FreeBSD.org>2003-01-24 04:55:15 +0000
commit283256d7f3efb2ce1ae7e4149315b594c12113dc (patch)
tree938946595f1fb46ea2452573f7c80daccae957c0 /Tools/portbuild
parent284c3ebac28b378f31830e8245b8161799b2f1f0 (diff)
downloadFreeBSD-ports-283256d7f3efb2ce1ae7e4149315b594c12113dc.zip
FreeBSD-ports-283256d7f3efb2ce1ae7e4149315b594c12113dc.tar.gz
Determine client architecture using /etc/arch
Diffstat (limited to 'Tools/portbuild')
-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 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
OpenPOWER on IntegriCloud