string fix

This commit is contained in:
Luke Smith 2019-04-16 13:51:41 -04:00
parent acb89a269a
commit f2598c0c12
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -1,5 +1,5 @@
#!/bin/bash
GPG="gpg"; command -v gpg >/dev/null || GPG="gpg2"
pass=$(printf '%q' "$("$GPG" --decrypt --quiet ~/.local/share/muttwizard/$1.gpg)")
pass=$(printf '%q' "$("$GPG" --decrypt --quiet "$HOME/.local/share/muttwizard/$1.gpg")")
echo "set smtp_pass=\"$pass\""
echo "set imap_pass=\"$pass\""