summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lamontagne <kevin.lamontagne@libeo.com>2013-01-18 14:13:38 -0500
committerKevin Lamontagne <kevin.lamontagne@libeo.com>2013-01-18 14:14:32 -0500
commitf4175219fb7a1cb93f7eed54bd6510a85345096e (patch)
treef6ce2b550cd6fcedd949ab5e94a8bdafaa966be2
parentc816dcc10513731f0ef0c1b247fef1ef1287dd7c (diff)
downloadgitlab-ce-f4175219fb7a1cb93f7eed54bd6510a85345096e.tar.gz
Fix gitlab:check recommendation
Running the recommendation would give out: GNU find: paths must precede expression
-rw-r--r--lib/tasks/gitlab/check.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index 730a1fc5f2c..ab95c823df7 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -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"