Merge pull request #1152 from natrim/master
Fix UMASK checking in .gitoliterc
This commit is contained in:
commit
9b5441bce7
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ namespace :gitlab do
|
||||||
end
|
end
|
||||||
|
|
||||||
print "UMASK for .gitolite.rc is 0007? ............"
|
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
|
puts "YES".green
|
||||||
else
|
else
|
||||||
puts "NO".red
|
puts "NO".red
|
||||||
|
|
Loading…
Add table
Reference in a new issue