Commit 9b5441bce7f0ab2e2d90775c9a00ff6a56642b03

Authored by Dmitriy Zaporozhets
2 parents 3079687b 5cb47b76

Merge pull request #1152 from natrim/master

Fix UMASK checking in .gitoliterc
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/status.rake
@@ -49,7 +49,7 @@ namespace :gitlab do @@ -49,7 +49,7 @@ namespace :gitlab do
49 end 49 end
50 50
51 print "UMASK for .gitolite.rc is 0007? ............" 51 print "UMASK for .gitolite.rc is 0007? ............"
52 - unless open("#{git_base_path}/../.gitolite.rc").grep(/REPO_UMASK = 0007/).empty? 52 + unless open("#{git_base_path}/../.gitolite.rc").grep(/UMASK([ \t]*)=([ \t>]*)0007/).empty?
53 puts "YES".green 53 puts "YES".green
54 else 54 else
55 puts "NO".red 55 puts "NO".red