Images/genicons_lx.sh
author lbessard
Wed, 01 Oct 2008 18:16:33 +0200
changeset 281 eb49f3f511cc
parent 196 54f5020531f6
permissions -rw-r--r--
Adding comments for deferencing set and reset
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