Small fixes
This commit is contained in:
parent
75447fb044
commit
47e510e14f
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ namespace :gitlab do
|
||||||
|
|
||||||
# check Gitolite version
|
# check Gitolite version
|
||||||
gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION"
|
gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION"
|
||||||
if File.exists?(gitolite_version_file) && File.readable?(gitolite_version_file)
|
if File.readable?(gitolite_version_file)
|
||||||
gitolite_version = File.read(gitolite_version_file)
|
gitolite_version = File.read(gitolite_version_file)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue