From 46cdfd35783b6d78a0cce66eb3f52c8cee103676 Mon Sep 17 00:00:00 2001 From: drduh Date: Mon, 6 Jul 2015 21:00:13 -0400 Subject: [PATCH] Add support for gpg2 --- pwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwd.sh b/pwd.sh index e135485..63e4734 100755 --- a/pwd.sh +++ b/pwd.sh @@ -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}