diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-27 12:07:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-27 12:07:02 +0300 |
commit | fa5953005968c5f4eaa74cc4ec653e52489a6fa7 (patch) | |
tree | b56c1833f38589d2d77bbfda2849102e0d98273a /src/db.sh | |
parent | Travis: add test_symlink_update_works (diff) | |
download | config-links-fa5953005968c5f4eaa74cc4ec653e52489a6fa7.tar.gz config-links-fa5953005968c5f4eaa74cc4ec653e52489a6fa7.zip |
support symlinks as shared files
Diffstat (limited to '')
-rw-r--r-- | src/db.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -215,7 +215,7 @@ 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$shared_var_dir/" -\( -type f -o -type l -\) -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' ) } |