summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-24 04:55:15 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-24 04:55:15 +0000
commit6ab268ded7920eeff0aa88d47f5a0d5b17fcf8de (patch)
tree606821dd1815f9918cd37505a515794fe85a524c /Tools
parent- Use ${arch} (diff)
Determine client architecture using /etc/arch
Notes
Notes: svn path=/head/; revision=73917
Diffstat (limited to 'Tools')
-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