beremiz
Clone
Summary
Browse
Changes
Graph
Added support for loading XML file even if not following XSD schema (but still following XML syntax), warning user of errors in XML file
2013-09-27, Laurent Bessard
75349c51a34b
file is
Executable
Added support for loading XML file even if not following XSD schema (but still following XML syntax), warning user of errors in XML file
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done