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}