Don't glob into parent dirs
This commit is contained in:
parent
ab578c9502
commit
8633083716
1 changed files with 2 additions and 2 deletions
4
yadm
4
yadm
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue