ansible-gpg-vault: make script work in a submodule env

This commit is contained in:
Johanna Dorothea Reichmann 2020-06-07 17:00:24 +02:00
parent ebd2c819ec
commit 71a462d5eb
Signed by: transcaffeine
GPG Key ID: 03624C433676E465

View File

@ -5,7 +5,7 @@ set -e -u
# Keyserver to use. You need to trust this keyserver that the uid is not spoofed when receiving keys
KEYSERVER=""
REPO_BASE_PATH="`pwd`/../ansible-gpg-vault-store"
REPO_BASE_PATH="`dirname "$0"`/../ansible-gpg-vault-store"
# File in which the passphrase for the gpg vault is encrypted
VAULT_PASS_FILE="$REPO_BASE_PATH/vault_passphrase.gpg"
# File which contains a list of fingerprints to receive and encrypt the vault for