File indexing completed on 2024-12-01 06:42:32

0001 #!/bin/sh
0002 
0003 find "${1:-.}" -type f -name '*.svg' -exec xmllint --noout {} + 2> xmlerrors
0004 if [ -s xmlerrors ]; then
0005     cat xmlerrors
0006     rm xmlerrors
0007     exit 1
0008 fi
0009 rm xmlerrors