beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: fix websocket command unpacking for target that doesn't support missaligned int32 dereferencing
py2compat
12 months ago, Edouard Tisserant
c2c4c7db3036
SVGHMI: fix websocket command unpacking for target that doesn't support missaligned int32 dereferencing
#!/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