2022-04-16 16:18:51 +00:00
|
|
|
#! /bin/bash
|
|
|
|
OLDCWD=`pwd`
|
|
|
|
SCRIPT_PATH=`dirname $0`
|
2022-04-17 15:12:52 +00:00
|
|
|
CHECK_PATH=.
|
|
|
|
|
2022-04-16 16:18:51 +00:00
|
|
|
cd $SCRIPT_PATH/../../
|
|
|
|
|
2022-04-17 18:47:19 +00:00
|
|
|
FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -o -name \*.cfg -o -name \*.\[chs\] -o -name \*.asm -o -name \*.sgml \) -print | xargs grep -l $'\t' | grep -v "libwrk/" | grep -v "testwrk/"`
|
2022-04-16 16:18:51 +00:00
|
|
|
|
|
|
|
cd $OLDCWD
|
|
|
|
|
|
|
|
if [ x"$FILES"x != xx ]; then
|
|
|
|
echo "error: found TABs in the following files:"
|
|
|
|
for n in $FILES; do
|
|
|
|
echo $n
|
|
|
|
done
|
|
|
|
exit -1
|
|
|
|
fi
|