Images/genicons_lx.sh
author laurent
Fri, 24 Jul 2009 10:47:35 +0200
changeset 383 25ffba02b6a8
parent 196 54f5020531f6
permissions -rw-r--r--
Improving viewer loading instances procedure to faster
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