fix subdir and hopefully gpg decrypt
This commit is contained in:
4
gpull
4
gpull
@@ -9,7 +9,7 @@ fi
|
||||
token="$(pass show gitea/token/${project})"
|
||||
if [[ -z "$token" ]]; then
|
||||
printf 'Failed to get token for %s. ' "$project" >&2
|
||||
printf 'Must be one of:\n\n' "$project" >&2
|
||||
printf 'Must be one of:\n\n' >&2
|
||||
pass show gitea/token >&2
|
||||
exit 1
|
||||
fi
|
||||
@@ -22,5 +22,5 @@ if [[ "$project" == 'pass' ]]; then
|
||||
else
|
||||
git config user.signingkey "$gpg_key"!
|
||||
git config commit.gpgsign true
|
||||
git pull "$url"
|
||||
GPG_TTY=$(tty) git pull "$url"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user