From: Tom Hughes Date: Thu, 17 Sep 2015 15:01:34 +0000 (+0100) Subject: Add /usr/local/bin to PATH when creating statistics for svgo X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/b8cf59b1443e4efad7b9b75cee089394f03eaa33 Add /usr/local/bin to PATH when creating statistics for svgo --- diff --git a/cookbooks/web/templates/default/statistics.erb b/cookbooks/web/templates/default/statistics.erb index 175f0a9e8..87386a23d 100644 --- a/cookbooks/web/templates/default/statistics.erb +++ b/cookbooks/web/templates/default/statistics.erb @@ -1,5 +1,8 @@ #!/bin/sh +# Make sure /usr/local/bin is on the path +export PATH=$PATH:/usr/local/bin + # Generate new statistics <%= @directory %>/script/statistics > <%= @directory %>/tmp/data_stats.html