Use $PROGRAM when delegating pass commands
This commit is contained in:
parent
9ae5562869
commit
cf670956d8
|
@ -73,7 +73,7 @@ gocrypt_close() {
|
|||
gocrypt_delegate() {
|
||||
gocrypt_open_check
|
||||
# Delegate command to another `pass` instance that manages what is inside of the mountpoint
|
||||
PASSWORD_STORE_DIR="$PWD/$gocrypt_dec_dir" pass "$@"
|
||||
PASSWORD_STORE_DIR="$PWD/$gocrypt_dec_dir" "$PROGRAM" "$@"
|
||||
# Commit if there has been changes due to this operation
|
||||
cmd_git add "$gocrypt_dir"
|
||||
cmd_git commit -m "Encrypted pass operation inside gocrypt" "$gocrypt_dir" || echo "No git commit created"
|
||||
|
|
Loading…
Reference in New Issue