summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2017-01-19 22:57:39 -0500
committerBrian Coca <brian.coca+git@gmail.com>2017-01-19 23:01:41 -0500
commit8283d0853627531e33e30c1cc5b7f3dffa779989 (patch)
tree166a73700b7ac6f0e3e21906989c4ebd7b7bfe62 /Makefile
parente7505220d42d46e362d1bbf8b8ee3de81c7177c0 (diff)
downloadansible-8283d0853627531e33e30c1cc5b7f3dffa779989.tar.gz
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)