beremiz
Clone
Summary
Browse
Changes
Graph
Add special nodes at HMI Tree root, fix code to handle special node (no path).
svghmi
2019-08-20, Edouard Tisserant
282500e03dbc
file is
Executable
Add special nodes at HMI Tree root, fix code to handle special node (no path).
#!/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