diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-22 13:27:49 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-22 13:27:49 +0500 |
| commit | 253085268e36f99eae685e97a3f0b7da52ac45d6 (patch) | |
| tree | d3277397543caad09bf125c66f9981db3ef6fbcb | |
| parent | test/local: refactor things a little bit (diff) | |
| download | config-links-253085268e36f99eae685e97a3f0b7da52ac45d6.tar.gz config-links-253085268e36f99eae685e97a3f0b7da52ac45d6.zip | |
db.sh: fix findutils warnings
| -rw-r--r-- | lib/db.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}}" |
