Merge pull request #5940 from DieHertz/get-rid-of-pcre-grep
Replaced PCRE with egrep for macOS users
This commit is contained in:
commit
7455de4859
2
Makefile
2
Makefile
|
@ -477,7 +477,7 @@ test junittest:
|
||||||
|
|
||||||
check-target-independence:
|
check-target-independence:
|
||||||
$(V1) for test_target in $(VALID_TARGETS); do \
|
$(V1) for test_target in $(VALID_TARGETS); do \
|
||||||
FOUND=$$(grep -rP "\W$${test_target}\W?" src/main/ | grep -vP "(\/\/)|(\/\*).*\W$${test_target}\W?" | grep -vP "^src/main/target"); \
|
FOUND=$$(grep -rE "\W$${test_target}\W?" src/main | grep -vE "(//)|(/\*).*\W$${test_target}\W?" | grep -vE "^src/main/target"); \
|
||||||
if [ "$${FOUND}" != "" ]; then \
|
if [ "$${FOUND}" != "" ]; then \
|
||||||
echo "Target dependencies found:"; \
|
echo "Target dependencies found:"; \
|
||||||
echo "$${FOUND}"; \
|
echo "$${FOUND}"; \
|
||||||
|
|
Loading…
Reference in New Issue