check if the pdf version of the ARM needs to be committed

This commit is contained in:
Mark Andrews
2012-04-27 12:26:23 +10:00
parent 0d88065af3
commit 9ade53d268

9
util/commit-arm.sh Normal file
View File

@@ -0,0 +1,9 @@
ps=`git log -1 --date=raw --pretty=format:%ad -- doc/arm/Bv9ARM.pdf | awk '{print $1;}'`
for f in doc/arm/*.html
do
ts=`git log -1 --date=raw --pretty=format:%ad -- $f | awk '{print $1;}'`
if test ${ts:-0} -gt ${ps:-0}
then
echo commit needed.
fi
done