Fix the check_tabs.sh script choking on QT generated UI files when doing an in-source build

This commit is contained in:
scrawl 2015-11-04 20:25:03 +01:00
parent c23609e22b
commit 6bf3932279

View file

@ -1,6 +1,6 @@
#!/bin/bash
OUTPUT=$(grep -nRP '\t' --include=\*.{cpp,hpp,c,h} apps components)
OUTPUT=$(grep -nRP '\t' --include=\*.{cpp,hpp,c,h} --exclude=ui_\* apps components)
if [[ $OUTPUT ]] ; then
echo "Error: Tab characters found!"