X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..605d99f67ad361a244d3ea699181aa14aca5d9ec:/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)