This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 5b2345ce authored by Michael Kozono's avatar Michael Kozono
Browse files

Follow symlinks

In particular, the Omnibus uploads directory is generally a symlink.
parent 574e9363ff16
......@@ -92,7 +92,7 @@ def yield_paths_in_batches(stdout, batch_size, &block)
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 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment