Commit 23d443a5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4854 from aus/patch-1

Fix GitLab Shell version check
parents 481c3720 b74a5045
......@@ -54,7 +54,7 @@ namespace :gitlab do
# check Gitolite version
gitlab_shell_version_file = "#{Gitlab.config.gitlab_shell.repos_path}/../gitlab-shell/VERSION"
gitlab_shell_version_file = "#{Gitlab.config.gitlab_shell.hooks_path}/../VERSION"
if File.readable?(gitlab_shell_version_file)
gitlab_shell_version = File.read(gitlab_shell_version_file)
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