Don't glob into parent dirs

pull/177/head
Ross Smith II 5 years ago committed by Tim Byrne
parent ab578c9502
commit 8633083716
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12

@ -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…
Cancel
Save