]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/templates/default/post-receive.erb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / chef / templates / default / post-receive.erb
index 58646ff1ac962ac49229274407f507e2b7f911f3..b402265c17fffff8be8219c27293490bc965a3dc 100644 (file)
@@ -9,7 +9,7 @@ while read oldrev newrev refname
 do
   if [[ "$refname" = "refs/heads/master" ]]
   then
-    cd /var/lib/chef
+    cd /var/lib/chef/<%= @repository %>
 
     rm -f cookbooks/*/metadata.json(N)