Images/genicons_lx.sh
author lbessard
Thu, 25 Sep 2008 10:28:24 +0200
changeset 278 e3ed4747086f
parent 196 54f5020531f6
permissions -rw-r--r--
Bug in return value and outputs order in functions informations generation fixed
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