From b8cf59b1443e4efad7b9b75cee089394f03eaa33 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 17 Sep 2015 16:01:34 +0100 Subject: [PATCH] Add /usr/local/bin to PATH when creating statistics for svgo --- cookbooks/web/templates/default/statistics.erb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.2