]> git.openstreetmap.org Git - chef.git/commitdiff
Add /usr/local/bin to PATH when creating statistics for svgo
authorTom Hughes <tom@compton.nu>
Thu, 17 Sep 2015 15:01:34 +0000 (16:01 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 17 Sep 2015 15:01:34 +0000 (16:01 +0100)
cookbooks/web/templates/default/statistics.erb

index 175f0a9e8d712d7731cbed02923b61d9cbefd4b7..87386a23d6d5e040572209aa001c5f49bb295459 100644 (file)
@@ -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