gitolite's repositories folder symlinked patch

This commit is contained in:
Michele Franzin 2012-10-27 16:12:01 +02:00
parent 13e72f5a6f
commit c370c1b389

View file

@ -49,7 +49,7 @@ namespace :gitlab do
end end
print "UMASK for .gitolite.rc is 0007? ............" print "UMASK for .gitolite.rc is 0007? ............"
if open("#{git_base_path}/../.gitolite.rc").grep(/UMASK([ \t]*)=([ \t>]*)0007/).any? if open(File.absolute_path("#{git_base_path}/../.gitolite.rc")).grep(/UMASK([ \t]*)=([ \t>]*)0007/).any?
puts "YES".green puts "YES".green
else else
puts "NO".red puts "NO".red