summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2017-01-20 04:57:39 +0100
committerBrian Coca <brian.coca+git@gmail.com>2017-01-20 05:01:41 +0100
commit8283d0853627531e33e30c1cc5b7f3dffa779989 (patch)
tree166a73700b7ac6f0e3e21906989c4ebd7b7bfe62 /Makefile
parentNeed to define the OS variable at this level too (diff)
downloadansible-8283d0853627531e33e30c1cc5b7f3dffa779989.tar.xz
ansible-8283d0853627531e33e30c1cc5b7f3dffa779989.zip
escape $
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc0af2290e..1294220eb8 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ endif
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1)
DATE := $(shell date -j -r $(shell git log -n 1 --format="%at") +%Y%m%d%H%M)
-CPUS := $(shell sysctl hw.ncpu|awk '{print $2}')
+CPUS := $(shell sysctl hw.ncpu|awk '{print $$2}')
else
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
CPUS := $(shell nproc)