Skip to content

Commit

Permalink
\s -> [[:space:]] fixes the filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Cribbs committed May 30, 2014
1 parent dfdcf34 commit d10c567
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ dialyzer-run:
exit 1; \
fi; \
dialyzer $(DIALYZER_FLAGS) --plts $${PLTS} -c ebin > dialyzer_warnings ; \
egrep -v "^\s*(done|Checking|Proceeding|Compiling)" dialyzer_warnings | grep -F -f dialyzer.ignore-warnings -v > dialyzer_unhandled_warnings ; \
cat dialyzer_warnings ; \
cat dialyzer_unhandled_warnings ; wc -c dialyzer_unhandled_warnings ; \
egrep -v "^[[:space:]]*(done|Checking|Proceeding|Compiling)" dialyzer_warnings | grep -F -f dialyzer.ignore-warnings -v > dialyzer_unhandled_warnings ; \
cat dialyzer_unhandled_warnings ; \
[ $$(cat dialyzer_unhandled_warnings | wc -l) -eq 0 ] ; \
else \
dialyzer $(DIALYZER_FLAGS) --plts $${PLTS} -c ebin; \
Expand Down

0 comments on commit d10c567

Please sign in to comment.