]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
check if the pdf version of the ARM needs to be committed
authorMark Andrews <marka@isc.org>
Fri, 27 Apr 2012 02:29:19 +0000 (12:29 +1000)
committerMark Andrews <marka@isc.org>
Fri, 27 Apr 2012 02:29:19 +0000 (12:29 +1000)
util/commit-arm.sh [new file with mode: 0644]

diff --git a/util/commit-arm.sh b/util/commit-arm.sh
new file mode 100644 (file)
index 0000000..dbdcafe
--- /dev/null
@@ -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