Commit b6ea9443 authored by Doug Stull's avatar Doug Stull

Resolve post-checkout hook issue with pot generation

- failures happen when bundle install is ran on
  post checkout hook.
parent ac92e656
......@@ -38,7 +38,7 @@ namespace :gettext do
Rake::Task['gettext:find'].invoke
# leave only the required changes.
unless system(*%w(git checkout -- locale/*/gitlab.po))
unless system(*%w(git -c core.hooksPath=/dev/null checkout -- locale/*/gitlab.po))
raise 'failed to cleanup generated locale/*/gitlab.po files'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment