]> git.openstreetmap.org Git - chef.git/commitdiff
Disable warnings from the daiy statistics script
authorTom Hughes <tom@compton.nu>
Wed, 18 Jul 2018 17:36:07 +0000 (18:36 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 18 Jul 2018 17:36:07 +0000 (18:36 +0100)
cookbooks/web/templates/default/statistics.erb

index 4fc94857ecfd3987240454c2c57f736185aeb152..a42357ba8e2f3ac4203ad14faaac4b15819c9f9c 100644 (file)
@@ -7,7 +7,7 @@ set -e
 export PATH=$PATH:/usr/local/bin
 
 # Generate new statistics
-<%= @ruby %> <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html
+<%= @ruby %> -W0 <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html
 
 # Move new statistics into place
 mv -f <%= @directory %>/tmp/data_stats.html /store/rails/stats