X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..ad6b3f72b1b2bb9c7184f3badc87193b4e57aba0:/cookbooks/chef/templates/default/post-receive.erb diff --git a/cookbooks/chef/templates/default/post-receive.erb b/cookbooks/chef/templates/default/post-receive.erb index 58646ff1a..b402265c1 100644 --- a/cookbooks/chef/templates/default/post-receive.erb +++ b/cookbooks/chef/templates/default/post-receive.erb @@ -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)