Skip to content

Commit

Permalink
Merge pull request #3 from rEnr3n/fix-find
Browse files Browse the repository at this point in the history
Add slash after PASSWORD_STORE
  • Loading branch information
dima authored Jun 29, 2020
2 parents c30509d + b7eca89 commit bc2fee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.bash
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ _get_entries_from_dir() {
# export all
cmd_export_all() {
_PS_LENGTH=${#PASSWORD_STORE}
for ENTRY in $(find "${PASSWORD_STORE}" -type f -name "*.gpg")
for ENTRY in $(find "${PASSWORD_STORE}/" -type f -name "*.gpg")
do
_NAME="${ENTRY:_PS_LENGTH + 1}"
cmd_export "${_NAME/.gpg/}"
Expand Down

0 comments on commit bc2fee1

Please sign in to comment.