From: David Adam Date: Fri, 17 Apr 2015 03:10:47 +0000 (+0800) Subject: uccpass: use local version of PATH and pass GPG_OPTS to use trust-model=always X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3b2a984fb0b91cf5d03a2285f4a276d1195f02ee;p=zanchey%2Fuccpass.git uccpass: use local version of PATH and pass GPG_OPTS to use trust-model=always --- diff --git a/uccpass b/uccpass index fc83554..7f7bb9d 100755 --- a/uccpass +++ b/uccpass @@ -41,6 +41,9 @@ init () { export GIT_AUTHOR_NAME="`getent passwd $USER | cut -d: -f5`" export GPG_TTY=`tty` + export PASSWORD_STORE_GPG_OPTS="--trust-model always" + + export PATH=$UCCPASS_ROOT/pass/bin:$PATH if [ -n "$UCCPASS_DEBUG" ]; then set -x; fi }