Images/genicons_lx.sh
author laurent
Wed, 14 Dec 2011 15:18:32 +0100
changeset 605 279c16d017f3
parent 196 54f5020531f6
permissions -rw-r--r--
Adding support for loading specific POUs library in LPCBeremiz
196
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     1
#!/bin/bash
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     2
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     3
INKSCAPE=inkscape
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     4
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     5
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     6
do
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     7
 echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     8
 rm  -f $i.png
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
     9
 "$INKSCAPE" icons.svg -z -e $i.png -i $i
54f5020531f6 *** empty log message ***
etisserant
parents:
diff changeset
    10
done