aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.sh b/src/db.sh
index a4a37a5..990d0a1 100644
--- a/src/db.sh
+++ b/src/db.sh
@@ -213,8 +213,8 @@ link_all_entries() {
is_dry_run || link_entry "$entry"
fi
- done < <( find "$shared_root_dir$shared_var_dir" -type f -print0 )
- done < <( find "$shared_root_dir" -regextype posix-basic -mindepth 1 -maxdepth 1 -type d -regex ".*/$var_name_regex\$" -printf '%P\0' )
+ done < <( find "$shared_root_dir$shared_var_dir/" -type f -print0 )
+ done < <( find "$shared_root_dir" -regextype posix-basic -mindepth 1 -maxdepth 1 -\( -type d -o -type l -\) -regex ".*/$var_name_regex\$" -printf '%P\0' )
}
unlink_all_entries() {