From f8cf7ff45a5bff769af54fa50fde9b0bb6f3b572 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 11 Sep 2022 00:32:07 +0200 Subject: [PATCH] Do not use deprecated grep variants. --- common/src-from-vcxproj.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src-from-vcxproj.mk b/common/src-from-vcxproj.mk index 3a16b197..0564c09c 100644 --- a/common/src-from-vcxproj.mk +++ b/common/src-from-vcxproj.mk @@ -10,9 +10,9 @@ SRC4 := $(SRC4) # this file, so ../win32/$(PROJECT).vcxproj refers to the Visual Studio project # of whichever tool is including this makefile fragment. -BASE := $(shell egrep 'ClCompile.*cpp"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') -BASE2 := $(shell egrep 'ClCompile.*c"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') -BASE4 := $(shell egrep 'None.*S"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') +BASE := $(shell grep -E 'ClCompile.*cpp"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') +BASE2 := $(shell grep -E 'ClCompile.*c"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') +BASE4 := $(shell grep -E 'None.*S"' ../win32/$(PROJECT).vcxproj | sed -e 's/.*\"\(.*\)\".*/\1/' | sed -e 's@\\@/@g') # The tool-specific makefile may request that certain files be omitted. SRC += $(filter-out $(FILTER),$(BASE))