beremiz
Clone
Summary
Browse
Changes
Graph
Add information how to make shelve command work with check_source.sh called from hg hook
2018-07-03, Andrey Skvortsov
e762e234181d
file is
Executable
Add information how to make shelve command work with check_source.sh called from hg hook
and added coresponding flag handling in check_source.sh
#!/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