Skip to content

Commit 8cdffc7

Browse files
authored
Merge pull request plone#1206 from plone/egrep-deprecated
Replace deprecated `egrep` with `grep` in `make docs-linkcheckbroken`
2 parents 2c80d95 + 6ae99da commit 8cdffc7

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
@@ -170,7 +170,7 @@ linkcheck: deps ## Run linkcheck
170170

171171
.PHONY: linkcheckbroken
172172
linkcheckbroken: deps ## Run linkcheck and show only broken links
173-
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' egrep -wi broken --color=auto
173+
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=auto
174174
@echo
175175
@echo "Link check complete; look for any errors in the above output " \
176176
"or in $(BUILDDIR)/linkcheck/ ."

0 commit comments

Comments
 (0)