Images/genicons_lx.sh
author Laurent Bessard
Sat, 07 Jul 2012 20:50:24 +0200
changeset 721 f3dffc1a5ffe
parent 196 54f5020531f6
permissions -rw-r--r--
Fix bug when loading output variable
#!/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