diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2017-01-20 04:57:39 +0100 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2017-01-20 05:01:41 +0100 |
commit | 8283d0853627531e33e30c1cc5b7f3dffa779989 (patch) | |
tree | 166a73700b7ac6f0e3e21906989c4ebd7b7bfe62 /Makefile | |
parent | Need to define the OS variable at this level too (diff) | |
download | ansible-8283d0853627531e33e30c1cc5b7f3dffa779989.tar.xz ansible-8283d0853627531e33e30c1cc5b7f3dffa779989.zip |
escape $
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |