Fix gitlab:check recommendation

Running the recommendation would give out:
GNU find: paths must precede expression
This commit is contained in:
Kevin Lamontagne 2013-01-18 14:13:38 -05:00
parent c816dcc105
commit f4175219fb

View file

@ -709,7 +709,7 @@ namespace :gitlab do
try_fixing_it(
"sudo chmod -R ug+rwX,o-rwx #{repo_base_path}",
"sudo chmod -R u-s #{repo_base_path}",
"find -type d #{repo_base_path} -print0 | sudo xargs -0 chmod g+s"
"find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
)
for_more_information(
see_installation_guide_section "Gitolite"