beremiz
Clone
Summary
Browse
Changes
Graph
Extensions: add optional arguments to ThirdPartyPath
23 months ago, Edouard Tisserant
466be4f52cb9
Extensions: add optional arguments to ThirdPartyPath
ThirdPartyPath("name", "path1", "path2") will resolve by default into "../name/path1/path2"
#!/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