aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/db.sh4
1 files changed, 2 insertions, 2 deletions
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}}"