diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-11 01:32:32 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-08-11 01:32:32 +0300 |
commit | 383c3ab89dca3a25dece6bd0d8aa0e71eec178e4 (patch) | |
tree | e4add9ed4371b8d6b59d74281381331dd84beb3e /src/db.sh | |
parent | +x bin/*.sh (diff) | |
download | config-links-383c3ab89dca3a25dece6bd0d8aa0e71eec178e4.tar.gz config-links-383c3ab89dca3a25dece6bd0d8aa0e71eec178e4.zip |
shellcheck fixes
Diffstat (limited to 'src/db.sh')
-rw-r--r-- | src/db.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,12 +16,12 @@ update_shared_dir() { local new_shared_dir new_shared_dir="$( traverse_path --exist --directory -- "$1" )" - [ new_shared_dir = / ] || new_shared_dir="$new_shared_dir/" + [ "$new_shared_dir" = / ] || new_shared_dir="$new_shared_dir/" [ "$db_path" = "$shared_root_dir$default_db_name" ] \ && db_path="$new_shared_dir$default_db_name" - shared_dir="$new_shared_dir" + shared_root_dir="$new_shared_dir" } # Database maintenance |