diff options
author | natrim <natrim_cz@yahoo.com> | 2012-07-27 13:03:30 +0400 |
---|---|---|
committer | natrim <natrim_cz@yahoo.com> | 2012-07-27 13:03:30 +0400 |
commit | 5cb47b761c0725c4045ff00dbeff63e2f47196ce (patch) | |
tree | a346afd8fb4b9cce3c05807ba818fcdeb668612b /lib | |
parent | 0590aa9d6073e79ba47c4fe5c34318f6889c44d8 (diff) |
fix checking for right gitolite UMASK
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/status.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/status.rake b/lib/tasks/gitlab/status.rake index 96b8886fa89..bc4e86ea648 100644 --- a/lib/tasks/gitlab/status.rake +++ b/lib/tasks/gitlab/status.rake @@ -49,7 +49,7 @@ namespace :gitlab do end print "UMASK for .gitolite.rc is 0007? ............" - unless open("#{git_base_path}/../.gitolite.rc").grep(/REPO_UMASK = 0007/).empty? + unless open("#{git_base_path}/../.gitolite.rc").grep(/UMASK([ \t]*)=([ \t>]*)0007/).empty? puts "YES".green else puts "NO".red |