Merge pull request #174 from rasa/fix-parent-dir-globbing

This commit is contained in:
Tim Byrne 2019-11-12 06:52:30 -06:00
commit c222644f8c
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 2 additions and 2 deletions

4
yadm
View File

@ -1045,12 +1045,12 @@ function perms() {
# include all .ssh files (unless disabled)
if [[ $(config --bool yadm.ssh-perms) != "false" ]] ; then
GLOBS+=(".ssh" ".ssh/*" ".ssh/.*")
GLOBS+=(".ssh" ".ssh/*" ".ssh/.[!.]*")
fi
# include all gpg files (unless disabled)
if [[ $(config --bool yadm.gpg-perms) != "false" ]] ; then
GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.*")
GLOBS+=(".gnupg" ".gnupg/*" ".gnupg/.[!.]*")
fi
# include any files we encrypt