mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 23:56:09 +10:00
Merge pull request #4854 from aus/patch-1
Fix GitLab Shell version check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user