Updated astyle to work with updated .astyleignore file

fgrep === grep -F
-F treats lines as fixed strings (aka, the '^' isn't expanded)
pull/10222/head
Cruz Monrreal II 2019-03-25 19:43:34 -05:00
parent f87a3e9c32
commit 034096dcd0
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ matrix:
- >-
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( fgrep -v -f .astyleignore || true ) \
| ( grep -v -f .astyleignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --diff-filter=d --color