lpcmanager
Clone
Summary
Browse
Changes
Graph
MQTT: prevent exceptions in case of empty ProjectID
11 months ago, Edouard Tisserant
df8a59fb9cfd
file is
Executable
MQTT: prevent exceptions in case of empty ProjectID
#!/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