From 253085268e36f99eae685e97a3f0b7da52ac45d6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 22 Sep 2026 13:27:49 +0500 Subject: db.sh: fix findutils warnings --- lib/db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/db.sh b/lib/db.sh index 1199d58..7aa3c21 100644 --- a/lib/db.sh +++ b/lib/db.sh @@ -197,7 +197,7 @@ link_all_entries() { find "$shared_root_dir" \ -mindepth 1 -maxdepth 1 \ - -\( -type d -o -type l -\) \ + \( -type d -o -type l \) \ -regextype posix-basic \ -regex ".*/$var_name_regex\$" \ -printf '%P\0' | @@ -209,7 +209,7 @@ link_all_entries() { dump "shared directory: $shared_root_dir$shared_var_dir" local shared_path - find "$shared_root_dir$shared_var_dir/" -\( -type f -o -type l -\) -print0 | + find "$shared_root_dir$shared_var_dir/" \( -type f -o -type l \) -print0 | while IFS= read -d '' -r shared_path; do dump " shared file path: $shared_path" local entry="${shared_path:${#shared_root_dir}}" -- cgit v1.3