Images/genicons_lx.sh
author laurent
Wed, 14 Dec 2011 15:13:36 +0100
changeset 603 25c92309cdae
parent 196 54f5020531f6
permissions -rw-r--r--
Fixing bug in xmlclass with simple type elements containing #text node instead of cdata
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