Images/genicons.sh
author laurent
Thu, 16 Feb 2012 22:55:50 +0100
changeset 647 2d53c653d8d2
parent 184 d3e6484ebe85
permissions -rw-r--r--
Adding support for not closing debug tabs and remove variable in variable debug panel if instance still exist in newly transfered program
#!/bin/bash

INKSCAPE=/cygdrive/c/Program\ Files/Inkscape/inkscape.exe

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