diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 5d03e2b3c6d..970c148f4c2 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -3,7 +3,7 @@ SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; pri FORMATTER=../../hacking/module_formatter.py DUMPER=../../hacking/dump_playbook_attributes.py ifeq ($(shell echo $(OS) | egrep -ic 'Darwin|FreeBSD|OpenBSD|DragonFly'),1) -CPUS := $(shell sysctl hw.ncpu|awk '{print $2}') +CPUS := $(shell sysctl hw.ncpu|awk '{print $$2}') else CPUS := $(shell nproc) endif