Commit 5cb47b761c0725c4045ff00dbeff63e2f47196ce

Authored by natrim
1 parent 0590aa9d

fix checking for right gitolite UMASK

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 49 end
50 50  
51 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 53 puts "YES".green
54 54 else
55 55 puts "NO".red
... ...