fix checking for right gitolite UMASK
This commit is contained in:
parent
0590aa9d60
commit
5cb47b761c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue