aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/db.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-24 02:09:00 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-24 10:17:11 +0300
commite4107472211697b152c0a2b0746974e1c00d7d1f (patch)
tree6789c41b22fcd6b6ec9d7d1dc437ae5cccb6adb6 /src/db.sh
parentTravis: test_symlinks_unlink_works (diff)
downloadconfig-links-e4107472211697b152c0a2b0746974e1c00d7d1f.tar.gz
config-links-e4107472211697b152c0a2b0746974e1c00d7d1f.zip
fix Travis test test_symlinks_unlink_works
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"