1
0
Fork 0

check for evil "userarchive" flags (in aircraft xml files)

This commit is contained in:
mfranz 2007-07-21 21:28:39 +00:00
parent c51c0b1664
commit a5548068dc

View file

@ -85,6 +85,14 @@ find . -name thumbnail.jpg|while read i; do
done
LOG "checking for 'userarchive' flags (not allowed in aircraft XML files) ..."
find . -name \*.xml|while read i; do
if grep "userarchive" $i >/dev/null; then
RESULT "$i"
fi
done
LOG "checking for XML syntax ..."
find . -name \*.xml|while read i; do
xmllint $i >/dev/null || RESULT "... in file \e[36m$i\e[m"