From 6d12d409fb66db8d749885bcdcb5cc3bc72b63e1 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sat, 7 Oct 2017 21:42:28 +0000 Subject: [PATCH] path for sysctl(8) --- share/tools/webupdate-regression | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/webupdate-regression b/share/tools/webupdate-regression index 1c530edde6..2ccf31f885 100755 --- a/share/tools/webupdate-regression +++ b/share/tools/webupdate-regression @@ -36,7 +36,7 @@ set -e # by default run two processes per CPU -ncpu2=$(( $(sysctl -n hw.ncpu) * 2)) +ncpu2=$(( $(/sbin/sysctl -n hw.ncpu) * 2)) : ${NO_OBJ=YES} : ${make_opt=-j${ncpu2}}