From 8283d0853627531e33e30c1cc5b7f3dffa779989 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 19 Jan 2017 22:57:39 -0500 Subject: [PATCH] escape $ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc0af2290e8..1294220eb84 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)