Fix GitLab Shell version check

This commit is contained in:
Austin Robertson 2013-08-22 13:10:18 -05:00
parent 21e3d848b4
commit b74a50451c
1 changed files with 1 additions and 1 deletions

View File

@ -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