File: validate_svg.sh

package info (click to toggle)
breeze-icons 4%3A5.54.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 50,676 kB
  • sloc: cpp: 501; sh: 61; makefile: 12
file content (8 lines) | stat: -rw-r--r-- 170 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

find . -path ./.pc -prune -or -name '*.svg' -exec xmllint --noout {} + 2> xmlerrors
if [ -s xmlerrors ]; then
    cat xmlerrors
    rm xmlerrors
    exit 1
fi