freebsd-dev/contrib/ntp/scripts/build/checkHtmlFileDates
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

17 lines
297 B
Bash
Executable File

#! /bin/sh
bk version > /dev/null 2>&1 || exit 0
for i in `find * -type f -name '*.html' -print | grep -v SCCS/`
do
# echo $i
set `bk diffs $i | wc -l`
lines=$1
case "$lines" in
0) ;;
*) echo "Processing <$i>"
../scripts/build/updateBEDate $i
;;
esac
done