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

openmw-37
scrawl 9 years ago
parent c23609e22b
commit 6bf3932279

@ -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!"

Loading…
Cancel
Save