Add support for gpg2

This commit is contained in:
drduh 2015-07-06 21:00:13 -04:00
parent fee7c328ac
commit 46cdfd3578
1 changed files with 1 additions and 1 deletions

2
pwd.sh
View File

@ -6,7 +6,7 @@ set -o errtrace
set -o nounset
set -o pipefail
gpg=$(which gpg)
gpg=$(command -v gpg || command -v gpg2)
safe=${PWDSH_SAFE:=pwd.sh.safe}