Skip to content
Snippets Groups Projects
Commit fcbd2fe6 authored by Michael Kozono's avatar Michael Kozono
Browse files

Follow symlinks

In particular, the Omnibus uploads directory is generally a symlink.
parent ca817816
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -92,7 +92,7 @@ module Gitlab
end
 
def build_find_command(search_dir)
cmd = %W[find #{search_dir}
cmd = %W[find -L #{search_dir}
-type f
! ( -path #{EXCLUDED_HASHED_UPLOADS_PATH} -prune )
! ( -path #{EXCLUDED_TMP_UPLOADS_PATH} -prune )
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