mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
Determine client architecture using /etc/arch
This commit is contained in:
parent
069c3c3e0f
commit
6ab268ded7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73917
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user