Images/genicons_lx.sh
author laurent
Mon, 21 Sep 2009 12:06:15 +0200
changeset 410 e1d4e9a93186
parent 196 54f5020531f6
permissions -rw-r--r--
Bug when trying to use standard functions on literals only 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