Images/genicons_lx.sh
author laurent
Mon, 09 Jan 2012 11:08:08 +0100
changeset 622 05394e275a1c
parent 196 54f5020531f6
permissions -rw-r--r--
Fixing bug when building textual code containing comment with special characters
#!/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