Made the style-check scripts send their file lists to stderr.

A complete list will be shown before make shows its error message.  There will be less confusion about which lines are in the list.
This commit is contained in:
Greg King 2022-04-18 19:25:48 -04:00
parent ece6f10588
commit 6ea1f8ee85
3 changed files with 6 additions and 6 deletions

View File

@ -17,9 +17,9 @@ done`
cd $OLDCWD
if [ x"$FILES"x != xx ]; then
echo "error: found following files that have no newline at the end:"
echo "error: found following files that have no newline at the end:" >&2
for n in $FILES; do
echo $n
echo $n >&2
done
exit -1
fi

View File

@ -10,9 +10,9 @@ FILES=`find $CHECK_PATH -type f \( -name \*.inc -o -name Makefile -o -name \*.cf
cd $OLDCWD
if [ x"$FILES"x != xx ]; then
echo "error: found dangling spaces in the following files:"
echo "error: found dangling spaces in the following files:" >&2
for n in $FILES; do
echo $n
echo $n >&2
done
exit -1
fi

View File

@ -10,9 +10,9 @@ FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -
cd $OLDCWD
if [ x"$FILES"x != xx ]; then
echo "error: found TABs in the following files:"
echo "error: found TABs in the following files:" >&2
for n in $FILES; do
echo $n
echo $n >&2
done
exit -1
fi