Skip to content

Commit 587437b

Browse files
authored
Replace egrep with grep -E in Makefile (open-telemetry#3362)
egrep is deprecated and warns about this since version 3.8: https://www.gnu.org/software/grep/manual/grep.html
1 parent 2fe8861 commit 587437b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TOOLS_MOD_DIR := ./internal/tools
1717
ALL_DOCS := $(shell find . -name '*.md' -type f | sort)
1818
ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort)
1919
OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_MOD_DIRS))
20-
ALL_COVERAGE_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | egrep -v '^./example|^$(TOOLS_MOD_DIR)' | sort)
20+
ALL_COVERAGE_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | grep -E -v '^./example|^$(TOOLS_MOD_DIR)' | sort)
2121

2222
GO = go
2323
TIMEOUT = 60

0 commit comments

Comments
 (0)