In http://git.zx2c4.com/password-store/commit/?id=13153cfb1aae76c93b48c4817fb4150790a64938 both -L and a trailing slash was added to $PREFIX — the latter was an alternative to using -L and causes ‘find’ to output results with an extra slash, so the line removing $PREFIX from the ‘find’ output would have to also include this extra slash.

Best to just remove it again though.

--- pass (saved version)
+++ (current document)
@@ -360,7 +360,7 @@
                passfile="${passfile##*/}"
                printf "\e[94m%s/\e[1m%s\e[0m:\n" "$passfile_dir" "$passfile"
                echo "$grepresults"
-       done < <(find -L "$PREFIX/" -iname '*.gpg' -print0)
+       done < <(find -L "$PREFIX" -iname '*.gpg' -print0)
 }

 cmd_insert() {
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to