lpcmanager

MQTT: typo fix in SmartehCloud support

17 months ago, Edouard Tisserant
ea3e1f720ccc
file isExecutable
MQTT: typo fix in SmartehCloud support
#!/bin/sh
INKSCAPE=inkscape
for fname in `ls *.svg`; do
for i in `cat $fname |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt $fname ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" $fname -z -e $i.png -i $i
"$INKSCAPE" $fname -z -e $i.png -i $i
fi
done
done