summaryrefslogtreecommitdiff
path: root/share/tools/webupdate-regression
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2017-10-07 21:42:28 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2017-10-07 21:42:28 +0000
commit6d12d409fb66db8d749885bcdcb5cc3bc72b63e1 (patch)
treea0870c4a580f33b3ce260e3b8dbd213fae6be19d /share/tools/webupdate-regression
parenta006f40003600e2d932abb30308b3ae25f31dd4d (diff)
path for sysctl(8)
Notes
svn path=/head/; revision=51081
Diffstat (limited to 'share/tools/webupdate-regression')
-rwxr-xr-xshare/tools/webupdate-regression2
1 files changed, 1 insertions, 1 deletions
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}}