Commit 9145b7072c4d1349b56a53731b499485ff7679d1:
Check if template has changed
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
tools/collate_minutes.rb | +
------------------------------------------------------------
1 changes: 1 additions, 0 deletions.
------------------------------------------------------------
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 36294e1..f84f0ba 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -56,6 +56,7 @@
# quick exit if everything is up to date
if File.exist? "#{SITE_MINUTES}/index.html"
input = Dir["#{SVN_SITE_RECORDS_MINUTES}/*/board_minutes_20*.txt",
+ "#{TEMPLATES}/index.html", # if the template changes, we need to regenerate
"#{BOARD}/board_minutes_20*.txt"].
map {|name| File.stat(name).mtime}.push(File.stat(__FILE__).mtime).max
exit if File.stat("#{SITE_MINUTES}/index.html").mtime >= input