Images/genicons_lx.sh
author lbessard
Thu, 25 Sep 2008 10:29:47 +0200
changeset 279 2ad276084038
parent 196 54f5020531f6
permissions -rw-r--r--
Bug involving possible name conflict between return value and ouputs fixed
#!/bin/bash

INKSCAPE=inkscape

for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
do
 echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
 rm  -f $i.png
 "$INKSCAPE" icons.svg -z -e $i.png -i $i
done