diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh index 7b6b9288a664..7a5a221a50e0 100755 --- a/usr.bin/man/man.sh +++ b/usr.bin/man/man.sh @@ -535,10 +535,10 @@ man_setup() { MACHINE=${mflag##*:} fi if [ -z "$MACHINE_ARCH" ]; then - MACHINE_ARCH=$(sysctl -n hw.machine_arch) + MACHINE_ARCH=$($SYSCTL -n hw.machine_arch) fi if [ -z "$MACHINE" ]; then - MACHINE=$(sysctl -n hw.machine) + MACHINE=$($SYSCTL -n hw.machine) fi decho "Using architecture: $MACHINE_ARCH:$MACHINE" @@ -895,6 +895,7 @@ EQN=/usr/bin/eqn COL=/usr/bin/col NROFF='/usr/bin/groff -S -Wall -mtty-char -man' PIC=/usr/bin/pic +SYSCTL=/sbin/sysctl TBL=/usr/bin/tbl TROFF='/usr/bin/groff -S -man' REFER=/usr/bin/refer