etherlab/images/genicons.sh
author Laurent Bessard
Wed, 31 Oct 2012 11:54:26 +0100
changeset 2088 c0952932d74b
parent 2043 27d4cb689a79
permissions -rwxr-xr-x
Adding support for using Etherlab SDO function blocks in MCL
#!/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