mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
escape $
This commit is contained in:
2
Makefile
2
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)
|
||||
|
||||
Reference in New Issue
Block a user