I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c4d7f992 authored by kytv's avatar kytv
Browse files

checkcerts.sh: check for extraneous spaces

(trying to catch the problem noted at http://zzz.i2p/topics/1663)
parent 80d6921a
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,14 @@ do
else
compute_dates
fi
if grep '\s$' $i > /dev/null 2>&1; then
echo "********* Trailing whitespace found in file $i *********"
FAIL=1
fi
if grep '^\s' $i > /dev/null 2>&1; then
echo "********* Leading whitespace found in file $i *********"
FAIL=1
fi
done
if [ -n "$FAIL" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment