aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db.sh b/src/db.sh
index 990d0a1..e96c48c 100644
--- a/src/db.sh
+++ b/src/db.sh
@@ -62,6 +62,8 @@ add_entry() {
local shared_path="$shared_var_dir"
[ "$shared_var_dir" != / ] && shared_path="$shared_path/"
shared_path="$shared_path$subpath"
+ shared_path="$( traverse_path -- "$shared_path" )"
+
local symlink_path="$symlink_var_dir"
[ "$symlink_var_dir" != / ] && symlink_path="$symlink_path/"
symlink_path="$symlink_path$subpath"