1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Determine client architecture using /etc/arch

This commit is contained in:
Kris Kennaway 2003-01-24 04:55:15 +00:00
parent 069c3c3e0f
commit 6ab268ded7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73917

View File

@ -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