Skip to content
Snippets Groups Projects
Commit 5cb47b76 authored by natrim's avatar natrim
Browse files

fix checking for right gitolite UMASK

parent 0590aa9d
No related branches found
No related tags found
1 merge request!1152Fix UMASK checking in .gitoliterc
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment