OSDN Git Service

Fix GitLab Shell version check
authorAustin Robertson <austinrobertson@gmail.com>
Thu, 22 Aug 2013 18:10:18 +0000 (13:10 -0500)
committerAustin Robertson <austinrobertson@gmail.com>
Thu, 22 Aug 2013 18:10:18 +0000 (13:10 -0500)
lib/tasks/gitlab/info.rake

index 091de6e..ea83efc 100644 (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