From e10a78c98aa83db749bf5a3a3faedd8bcb1e751d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 13 Jul 2023 22:32:01 +0200 Subject: [PATCH] Makefile: use grep -E instead of egrep (#103) (#112) Running egrep on modern systems prints egrep: warning: egrep is obsolescent; using grep -E (cherry picked from commit 5fe565bb950288324c454285f6140f5311c2b83c) Co-authored-by: Maxwell G --- docs/docsite/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 6679b129fd4..d210b5bc937 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -4,7 +4,7 @@ KEYWORD_DUMPER=../../hacking/build-ansible.py document-keywords CONFIG_DUMPER=../../hacking/build-ansible.py document-config GENERATE_CLI=../../hacking/build-ansible.py generate-man COLLECTION_DUMPER=../../hacking/build-ansible.py collection-meta -ifeq ($(shell echo $(OS) | egrep -ic 'Darwin|FreeBSD|OpenBSD|DragonFly'),1) +ifeq ($(shell echo $(OS) | grep -Eic 'Darwin|FreeBSD|OpenBSD|DragonFly'),1) CPUS ?= $(shell sysctl hw.ncpu|awk '{print $$2}') else CPUS ?= $(shell nproc)