From f55dc15476b681b2a8149b1fe9a4ed11d8bc1810 Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Sat, 22 Oct 2022 02:09:27 +0400 Subject: [PATCH] [#172] Fix grep: warning: stray \ before # https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html Signed-off-by: Angira Kekteeva --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 558765d..672f931 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,12 @@ include services/*/artifacts.mk include services/*/prepare.mk # List of services to run -START_SVCS = $(shell cat .services | grep -v \\\#) -START_BASIC = $(shell cat .basic_services | grep -v \\\#) -START_BOOTSTRAP = $(shell cat .bootstrap_services | grep -v \\\#) -STOP_SVCS = $(shell tac .services | grep -v \\\#) -STOP_BASIC = $(shell tac .basic_services | grep -v \\\#) -STOP_BOOTSTRAP = $(shell tac .bootstrap_services | grep -v \\\#) +START_SVCS = $(shell cat .services | grep -v '#') +START_BASIC = $(shell cat .basic_services | grep -ve '#') +START_BOOTSTRAP = $(shell cat .bootstrap_services | grep -v '#') +STOP_SVCS = $(shell tac .services | grep -v '#') +STOP_BASIC = $(shell tac .basic_services | grep -v '#') +STOP_BOOTSTRAP = $(shell tac .bootstrap_services | grep -v '#') # Enabled services dirs ENABLED_SVCS_DIRS = $(shell echo "${START_BOOTSTRAP} ${START_BASIC} ${START_SVCS}" | sed 's|[^ ]* *|./services/&|g')