lpcmanager
Clone
Summary
Browse
Changes
Graph
FW update : pass target flash type as additional argument to PLC object 'RunUpdateScript' call
som6
2020-11-02, Edouard Tisserant
58b63de9a08f
file is
Executable
FW update : pass target flash type as additional argument to PLC object 'RunUpdateScript' call
#!/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