tessen

default description
git clone https://git.awy.one/tessen.git
Log | Files | Refs | README | LICENSE

commit bffbb2dff5fc1b41084ca548f16d5d7a4fec4738
parent e4ec6ccd52c8ebbfd6a918e384540175592c1709
Author: Ayush Agarwal <ayushnix@fastmail.com>
Date:   Mon, 21 Mar 2022 20:00:06 +0530

fix: prefix the mount name to the list of files

shoud've caught this bug earlier, this should fix #24

Diffstat:
Mtessen | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tessen b/tessen @@ -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