etherlab/images/genicons.sh
author Laurent Bessard
Mon, 24 Jun 2013 21:03:22 +0200
changeset 2154 6bbe93799956
parent 2043 27d4cb689a79
permissions -rwxr-xr-x
Replaced location for axis ref from %IW(location).0 to %IW(location).402. Added location for network position at %IW(location).
#!/bin/bash

INKSCAPE=inkscape

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