about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-11-30 14:37:56 +0100
committerGitHub <noreply@github.com>2019-11-30 14:37:56 +0100
commitae4f770dadf585f14fd9f48c1274e3ca3ba213b3 (patch)
tree000580b3f53c35cb0711c0414b5ccc298d741775
parentcbe38ff9050a5e10fdf290243a2aa12a0a5de70f (diff)
parentb6e51a5cd684c0a2fc1118d6cc48ca89f5f6ab6c (diff)
downloadafl++-ae4f770dadf585f14fd9f48c1274e3ca3ba213b3.tar.gz
Merge pull request #112 from devnexen/unicorn_mode_obsd
unicorn mode, parallel job cmd fix for openbsd
-rwxr-xr-xunicorn_mode/build_unicorn_support.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh
index d0bfbfbe..e987e15a 100755
--- a/unicorn_mode/build_unicorn_support.sh
+++ b/unicorn_mode/build_unicorn_support.sh
@@ -97,7 +97,7 @@ if [ "$PLT" = "NetBSD" ] || [ "$PLT" = "OpenBSD" ]; then
   CKSUMCMD="cksum -a sha384 -q"
   PYTHONBIN=python2.7
   MAKECMD=gmake
-  CORES=`sysctl hw.ncpu | cut -d' ' -f2`
+  CORES=`sysctl hw.ncpu | cut -d'=' -f2`
   TARCMD=gtar
   EASY_INSTALL=easy_install-2.7
 fi