Skip to content

Commit

Permalink
fix: prefix the mount name to the list of files
Browse files Browse the repository at this point in the history
shoud've caught this bug earlier, this should fix #24
  • Loading branch information
ayushnix committed Mar 21, 2022
1 parent e4ec6cc commit bffbb2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tessen
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ get_gopass_files() {
if [[ -d ${line#*=> } ]]; then
path_files=("${line#*=> }"/**/*.gpg)
path_files=("${path_files[@]#"${line#*=> }"/}")
path_files=("$mount_name"/"${path_files[@]%.gpg}")
path_files=("${path_files[@]%.gpg}")
path_files=("${path_files[@]/#/"$mount_name/"}")
for file in "${path_files[@]}"; do
tmp_gopass_files["$file"]="${line#*=> }"
done
Expand Down

0 comments on commit bffbb2d

Please sign in to comment.